Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): improve mono-font-family #459

Merged
merged 2 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading