Skip to content

Commit

Permalink
fix(ui): improve mono-font-family (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
nimdanitro authored Oct 8, 2024
1 parent 380a9fe commit 8335b34
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 10 deletions.
32 changes: 22 additions & 10 deletions ui/src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ $grey-lighter: hsl(221, 14%, 86%);
$grey-lightest: hsl(221, 14%, 93%);

// Override global Sass variables from the /utilities folder
@use "bulma/sass/utilities" with ($family-primary: '"B612",sans-serif',
$family-monospace: '"B612 Mono", monospace',
@use "bulma/sass/utilities" with (
$family-primary: "B612",
$family-monospace: "B612 Mono",
$primary: $orange,
$warning: $yellow,
$danger: $red,
Expand All @@ -31,7 +32,8 @@ $grey-lightest: hsl(221, 14%, 93%);
$grey: $grey,
$grey-light: $grey-light,
$grey-lighter: $grey-lighter,
$grey-lightest: $grey-lightest);
$grey-lightest: $grey-lightest
);

// Import the components we need
@forward "bulma/sass/base";
Expand All @@ -41,12 +43,20 @@ $grey-lightest: hsl(221, 14%, 93%);
@forward "bulma/sass/components/breadcrumb";
@forward "bulma/sass/components/card";
@forward "bulma/sass/components/dropdown";
@use "bulma/sass/components/message" with ($message-body-padding: 1em 1.5em 0em 1em);
@use "bulma/sass/components/modal" with ($modal-content-width: 80rem);
@use "bulma/sass/components/navbar" with ($navbar-height: $navbar-height);
@use "bulma/sass/components/message" with (
$message-body-padding: 1em 1.5em 0em 1em
);
@use "bulma/sass/components/modal" with (
$modal-content-width: 80rem
);
@use "bulma/sass/components/navbar" with (
$navbar-height: $navbar-height
);
@forward "bulma/sass/components/tabs";

@use "bulma/sass/form" with ($input-shadow: none);
@use "bulma/sass/form" with (
$input-shadow: none
);

// Import the bulma elements we need
@forward "bulma/sass/elements/box";
Expand All @@ -60,7 +70,9 @@ $grey-lightest: hsl(221, 14%, 93%);
@forward "bulma/sass/elements/tag";
@forward "bulma/sass/elements/title";

@use "bulma/sass/layout/footer" with ($footer-padding: 2rem 1.5rem 2rem);
@use "bulma/sass/layout/footer" with (
$footer-padding: 2rem 1.5rem 2rem
);
@forward "bulma/sass/layout/hero";
@forward "bulma/sass/layout/section";
@forward "bulma/sass/layout/level";
Expand Down Expand Up @@ -112,7 +124,8 @@ section {
}

.tbody {
tr {}
tr {
}
}
}

Expand All @@ -130,7 +143,6 @@ section {
border-color: $red;
}


@media screen {
.is-print {
display: none !important;
Expand Down
1 change: 1 addition & 0 deletions ui/src/views/map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ function MapView() {
mapStyle={mapStyle.uri}
scrollZoom={true}
reuseMaps={false}
RTLTextPlugin={undefined}
>
<AttributionControl position="bottom-left" compact={true} />
{/* All Map Controls */}
Expand Down

0 comments on commit 8335b34

Please sign in to comment.