From db1c5fe72ccec5a225aa63dbb7163cc10fe523ef Mon Sep 17 00:00:00 2001 From: MytsV Date: Sun, 29 Sep 2024 17:35:20 +0300 Subject: [PATCH] Try fixing the table font being not monospace issue --- .../table/RegularTable/styles/agGridThemeRucio.css | 4 +--- .../table/RegularTable/styles/agGridThemeRucioDark.css | 7 ------- .../table/RegularTable/styles/agGridThemeRucioLight.css | 7 ------- 3 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/component-library/features/table/RegularTable/styles/agGridThemeRucio.css b/src/component-library/features/table/RegularTable/styles/agGridThemeRucio.css index 3f337b11b..2f48dfc17 100644 --- a/src/component-library/features/table/RegularTable/styles/agGridThemeRucio.css +++ b/src/component-library/features/table/RegularTable/styles/agGridThemeRucio.css @@ -4,8 +4,6 @@ * See installation docs at https://www.ag-grid.com/javascript-data-grid/applying-theme-builder-styling-grid/ */ -@import url('https://fonts.googleapis.com/css2?family=IBM%20Plex%20Sans:wght@400;500&display=swap'); - .ag-root-wrapper { border-bottom-left-radius: 0!important; border-bottom-right-radius: 0!important; @@ -29,7 +27,7 @@ --ag-pinned-column-border: var(--ag-inherited-pinned-column-border, solid 1px var(--ag-border-color)); --ag-pinned-row-border: var(--ag-inherited-pinned-row-border, solid 1px var(--ag-border-color)); --ag-side-panel-border: var(--ag-inherited-side-panel-border, solid 1px var(--ag-border-color)); - --ag-font-family: var(--ag-inherited-font-family, 'monospace'); + --ag-font-family: monospace; --ag-chrome-background-color: var(--ag-inherited-chrome-background-color, color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 7%)); --ag-header-background-color: var(--ag-inherited-header-background-color, #334155); --ag-header-font-family: var(--ag-inherited-header-font-family, var(--ag-font-family)); diff --git a/src/component-library/features/table/RegularTable/styles/agGridThemeRucioDark.css b/src/component-library/features/table/RegularTable/styles/agGridThemeRucioDark.css index 624e622c7..3b0580c63 100644 --- a/src/component-library/features/table/RegularTable/styles/agGridThemeRucioDark.css +++ b/src/component-library/features/table/RegularTable/styles/agGridThemeRucioDark.css @@ -1,10 +1,3 @@ -/* - * This file is a theme downloaded from the AG Grid Theme Builder for AG Grid 32.1.0. - * - * See installation docs at https://www.ag-grid.com/javascript-data-grid/applying-theme-builder-styling-grid/ - */ - -@import url('https://fonts.googleapis.com/css2?family=IBM%20Plex%20Sans:wght@400;500&display=swap'); @import url('agGridThemeRucio.css'); .ag-grid-theme-rucio-dark { diff --git a/src/component-library/features/table/RegularTable/styles/agGridThemeRucioLight.css b/src/component-library/features/table/RegularTable/styles/agGridThemeRucioLight.css index 753c89c0e..63f9042a5 100644 --- a/src/component-library/features/table/RegularTable/styles/agGridThemeRucioLight.css +++ b/src/component-library/features/table/RegularTable/styles/agGridThemeRucioLight.css @@ -1,10 +1,3 @@ -/* - * This file is a theme downloaded from the AG Grid Theme Builder for AG Grid 32.1.0. - * - * See installation docs at https://www.ag-grid.com/javascript-data-grid/applying-theme-builder-styling-grid/ - */ - -@import url('https://fonts.googleapis.com/css2?family=IBM%20Plex%20Sans:wght@400;500&display=swap'); @import url('agGridThemeRucio.css'); .ag-grid-theme-rucio-light {