-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Better formatting document summary with images * Improve styling * Address review feedback Co-authored-by: Tim Roes <[email protected]>
- Loading branch information
1 parent
b63d0bf
commit a41a4e5
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
...plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Special handling for images coming from the image field formatter | ||
// See discover_grid.scss for more explanation on those values | ||
.rowFormatter__value img { | ||
vertical-align: middle; | ||
max-height: lineHeightFromBaseline(2) !important; | ||
max-width: ($euiSizeXXL * 12.5) !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters