Skip to content

Commit

Permalink
fix: make buttons scalable with font
Browse files Browse the repository at this point in the history
  • Loading branch information
ymijsters committed Feb 5, 2025
1 parent 83a5583 commit ffa5f34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -274,16 +274,16 @@ button:hover {
line-height: calc(var(--font-scale) * 40px);
font-weight: bold;
color: var(--color);
width: 120px;
width: calc(var(--font-scale) * 120px);
}

.task-text button {
border: 3px var(--color) solid;
background-color: var(--background);
font-size: calc(var(--font-scale) * 30px);
color: var(--color);
width: 100px;
height: 50px;
width: calc(var(--font-scale) * 100px);
height: calc(var(--font-scale) * 50px);
}
.custom-overlay {
position: fixed;
Expand Down

0 comments on commit ffa5f34

Please sign in to comment.