Skip to content

Commit

Permalink
feat: added balance skeleton class (stops resizing when skeleton is h…
Browse files Browse the repository at this point in the history
…idden)
  • Loading branch information
truemiller committed Sep 9, 2024
1 parent 14f86a9 commit a25e05e
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions frontend/styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
@import '@fontsource/inter/700.css';
@import '@fontsource/inter/900.css';

html, body {
html,
body {
margin: 0;
padding: 0;
padding: 0;
height: auto;
}

/* Hide scrollbar for Chrome, Safari and Opera */
/* Hide scrollbar for Chrome, Safari and Opera */
*::-webkit-scrollbar {
display: none;
}
Expand All @@ -20,7 +21,11 @@ body {
user-select: none;
}

button, input, select, textarea, .ant-input-suffix {
button,
input,
select,
textarea,
.ant-input-suffix {
-webkit-app-region: no-drag;
}

Expand All @@ -40,13 +45,19 @@ button, input, select, textarea, .ant-input-suffix {
overflow-y: scroll;
}

// BALANCE

.balance {
font-family: 'Inter';
font-weight: 900;
font-size: 56px;
line-height: 48px;
}

.balance-skeleton {
height: 48px;
}

.balance-symbol {
@extend .balance;
font-size: 32px;
Expand Down Expand Up @@ -147,7 +158,7 @@ button, input, select, textarea, .ant-input-suffix {
.mx-auto {
margin-left: auto !important;
margin-right: auto !important;
}
}

.text-xl {
font-size: 20px;
Expand Down

0 comments on commit a25e05e

Please sign in to comment.