Skip to content

Commit d23c6a5

Browse files
committed
frontend: remove css variable that was only used once
--size-large-mobile was only used on mobile for the balance amount. Chagned to closest available value which is --size-header. This is not exactly the same as 1.4rem (22.4px) however 22.4px is not a font-size that is used anywhere else. With this change the account view now has same font-size for header as well as balance.
1 parent cd93cc4 commit d23c6a5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

frontends/web/src/components/balance/balance.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242

4343
.balanceTable td {
44-
font-size: var(--size-large-mobile);
44+
font-size: var(--size-header);
4545
line-height: 1.5;
4646
}
4747

frontends/web/src/style/variables.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949

5050
/* font sizes */
5151
--size-large: 2rem;
52-
--size-large-mobile: 1.4rem;
5352
--size-header: 24px;
5453
--size-subheader: 18px;
5554
--size-default: 14px;

0 commit comments

Comments
 (0)