fix mobile buttons

This commit is contained in:
2026-04-27 22:34:19 +02:00
parent 30115da841
commit e4bbe6e75c
9 changed files with 70 additions and 42 deletions

View File

@@ -8,8 +8,16 @@
}
button {
color: var(--text);
display: flex;
color: var(--primary-color);
transition: var(--transition);
border-radius: 4px;
font-size: 1rem;
background: var(--surface-strong);
border: 1px solid var(--primary-color);
padding: var(--gap-s);
cursor: pointer;
:host(.full-width) & {
width: 100%;
@@ -18,18 +26,19 @@ button {
&:hover {
color: var(--primary-active);
background: var(--surface-subtle);
}
@media screen and (max-width: 860px) {
font-size: 30px;
font-size: 1.2rem;
width: 100%;
justify-content: center;
.button-content {
flex-grow: 1;
}
}
}
.button-content {
@media screen and (max-width: 860px) {
display: none ;
}
}
fa-icon {
width: 20px;