Auto Resize Button Height

https://github.com/LinkStackOrg/LinkStack/issues/594
This commit is contained in:
Julian Prieber 2023-10-10 14:08:37 +02:00
parent 5f562db615
commit 863a92aae5
1 changed files with 6 additions and 3 deletions

View File

@ -56,15 +56,17 @@
button { button {
display: inline-block; display: inline-block;
text-decoration: none; text-decoration: none;
height: 48px; height: 100%;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
font-size: 18px; font-size: 18px;
width: 300px; width: 300px;
font-weight: 700; font-weight: 700;
line-height: 48px; line-height: 20px;
padding: 14px 12px 12px 12px;
letter-spacing: 0.1px; letter-spacing: 0.1px;
white-space: wrap; white-space: wrap;
outline: none;
border-radius: 8px; border-radius: 8px;
cursor: pointer; cursor: pointer;
} }
@ -72,7 +74,8 @@ button:hover,
.button:focus { .button:focus {
color: #333; color: #333;
border-color: #888; border-color: #888;
outline: 0; } outline: 0;
}
.button.button-primary { .button.button-primary {
color: #FFF; color: #FFF;
filter: brightness(90%) } filter: brightness(90%) }