forked from opensearch-project/OpenSearch-Dashboards
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Discover] Update fonts of the datagrid (opensearch-project#5841)
Signed-off-by: Miki <miki@amazon.com>
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
src/plugins/discover/public/application/components/data_grid/_data_grid_table.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,32 @@ | ||
.discoverDataGrid { | ||
// stylelint-disable-next-line @osd/stylelint/no_modifying_global_selectors | ||
.euiDataGrid__content { | ||
@include ouiCodeFont; | ||
|
||
font-size: 12px; | ||
} | ||
|
||
// stylelint-disable-next-line @osd/stylelint/no_modifying_global_selectors | ||
.euiDataGridRowCell { | ||
font-size: inherit; | ||
line-height: 1.6666em; | ||
|
||
.source { | ||
dd, | ||
dl, | ||
dt { | ||
font-size: inherit !important; | ||
} | ||
} | ||
} | ||
|
||
// stylelint-disable-next-line @osd/stylelint/no_modifying_global_selectors | ||
.euiDataGridHeaderCell { | ||
font-size: inherit; | ||
} | ||
|
||
// stylelint-disable-next-line @osd/stylelint/no_modifying_global_selectors | ||
.euiDataGridRowCell__expandButton { | ||
top: calc(1.6666em / 2 + 6px); | ||
} | ||
} |
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