diff --git a/apps/client/src/app/app.component.ts b/apps/client/src/app/app.component.ts index c9e124723d..fba00e1c47 100644 --- a/apps/client/src/app/app.component.ts +++ b/apps/client/src/app/app.component.ts @@ -350,11 +350,9 @@ export class GfAppComponent implements OnInit { if (isDarkColorScheme(userPreferredColorScheme)) { this.document.body.classList.add('theme-dark'); this.document.body.classList.remove('theme-light'); - this.document.documentElement.setAttribute('data-bs-theme', 'dark'); } else { this.document.body.classList.add('theme-light'); this.document.body.classList.remove('theme-dark'); - this.document.documentElement.setAttribute('data-bs-theme', 'light'); } this.document diff --git a/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html b/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html index 6e1336de09..de3f04235e 100644 --- a/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html +++ b/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html @@ -188,7 +188,7 @@ >Symbol -
+
-
+
@if ((errors()?.length ?? 0) > 0 && !isLoading()) {
-
-
-
-
+
+
diff --git a/apps/client/src/styles/bootstrap.scss b/apps/client/src/styles/bootstrap.scss index 72487358ab..4e505341e2 100644 --- a/apps/client/src/styles/bootstrap.scss +++ b/apps/client/src/styles/bootstrap.scss @@ -13,14 +13,27 @@ $badge-padding-x: 0.4em; $badge-padding-y: 0.25em; $blue: #007bff; +$body-secondary-color: #6c757d; +$border-radius: 0.25rem; +$code-color: inherit; +$code-color-dark: inherit; +$code-font-size: 1em; +$container-max-widths: ( + sm: 540px, + md: 720px, + lg: 960px, + xl: 1140px, + xxl: 1140px +); $cyan: #17a2b8; +$enable-dark-mode: false; $enable-rfs: false; +$enable-smooth-scroll: false; $green: #28a745; $grid-gutter-width: 30px; $hr-opacity: 1; $link-decoration: none; $link-hover-decoration: underline; -$small-font-size: 80%; @import 'bootstrap/scss/variables'; @import 'bootstrap/scss/variables-dark'; @@ -151,7 +164,7 @@ $utilities: map.merge( // @import 'bootstrap/scss/placeholders'; // Helpers -@import 'bootstrap/scss/helpers'; +@import 'bootstrap/scss/helpers/text-truncation'; // Utilities @import 'bootstrap/scss/utilities/api'; @@ -162,21 +175,11 @@ $utilities: map.merge( --bs-gutter-y: 0; } -// Maintain 1140px container max-width at >=1400px (avoiding BS5 1320px stretch) -@media (min-width: 1400px) { - .container-xxl, - .container-xl, - .container-lg, - .container-md, - .container-sm, - .container { - max-width: 1140px; - } -} - // Badge compatibility .badge-pill { border-radius: var(--bs-border-radius-pill, 50rem); + padding-left: 0.6em; + padding-right: 0.6em; } .badge-secondary {