Skip to content

Commit

Permalink
fix: button size
Browse files Browse the repository at this point in the history
  • Loading branch information
jac18281828 committed Oct 31, 2024
1 parent f1b75fe commit dbb4844
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,14 @@
"ghcr.io/devcontainers/features/common-utils:2": {
"version": "latest"
}
},
"customizations": {
"vscode": {
"extensions": [
"fill-labs.dependi",
"vadimcn.vscode-lldb",
"rust-lang.rust-analyzer"
]
}
}
}
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# 1.0.10 (1024-10-31)
# 1.0.11 (2024-10-31)

* fix: button size

# 1.0.10 (2024-10-31)

* feat: adjust viewport to be dynamic

Expand Down
6 changes: 3 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
#buttonDisplay button {
flex: 1 1 20%; /* Adjust percentage as needed */
margin: 0.5%;
min-width: 80px; /* Optional: prevent buttons from becoming too small */
max-width: 100px; /* Optional: prevent buttons from becoming too large */
min-width: 90px; /* Optional: prevent buttons from becoming too small */
max-width: 110px; /* Optional: prevent buttons from becoming too large */
font-size: clamp(0.875rem, 1.5vw, 1.5rem); /* Responsive font size */
background-color: #c4ffc6;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
}

0 comments on commit dbb4844

Please sign in to comment.