From e491bdabe241e8db912b056c239bdd961c68257c Mon Sep 17 00:00:00 2001 From: maximka Date: Wed, 16 Dec 2020 09:17:47 +0100 Subject: [PATCH] Dashboard: Increase folder name size in search dashboard (#29821) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Increase folder name size in search dashboard * Use new fontsize in dashboard list panel as well Co-authored-by: Torkel Ödegaard --- public/app/features/search/components/SearchItem.tsx | 6 ++---- public/app/plugins/panel/dashlist/styles.ts | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/public/app/features/search/components/SearchItem.tsx b/public/app/features/search/components/SearchItem.tsx index 14b4a138726..ba9fe06c766 100644 --- a/public/app/features/search/components/SearchItem.tsx +++ b/public/app/features/search/components/SearchItem.tsx @@ -83,10 +83,8 @@ const getResultsItemStyles = stylesFactory((theme: GrafanaTheme) => ({ `, folderTitle: css` color: ${theme.colors.textWeak}; - font-size: ${theme.typography.size.xs}; - line-height: ${theme.typography.lineHeight.xs}; - position: relative; - top: -1px; + font-size: ${theme.typography.size.sm}; + line-height: ${theme.typography.lineHeight.sm}; `, icon: css` margin-left: 10px; diff --git a/public/app/plugins/panel/dashlist/styles.ts b/public/app/plugins/panel/dashlist/styles.ts index 4b80127cd90..f12f1332c48 100644 --- a/public/app/plugins/panel/dashlist/styles.ts +++ b/public/app/plugins/panel/dashlist/styles.ts @@ -32,7 +32,8 @@ export const getStyles = stylesFactory((theme: GrafanaTheme) => ({ dashlistFolder: css` color: ${theme.colors.textWeak}; - font-size: ${theme.typography.size.xs}; + font-size: ${theme.typography.size.sm}; + line-height: ${theme.typography.lineHeight.sm}; `, dashlistTitle: css`