mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-08 02:58:32 -05:00
57 lines
809 B
CSS
57 lines
809 B
CSS
/* attached to the search button */
|
|
.button {
|
|
flex-shrink: 0;
|
|
border-start-start-radius: 0;
|
|
border-end-start-radius: 0;
|
|
}
|
|
|
|
/* the status indicator takes the room the label gives up */
|
|
@media screen and (max-width: 599px) {
|
|
@container (width < 310px) {
|
|
.button.withStatus {
|
|
aspect-ratio: 1 / 1;
|
|
padding: 0;
|
|
|
|
& > svg {
|
|
margin-inline-end: 0;
|
|
}
|
|
|
|
& .label {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 600px) {
|
|
@container (width < 410px) {
|
|
.button.withStatus {
|
|
aspect-ratio: 1 / 1;
|
|
padding: 0;
|
|
|
|
& > svg {
|
|
margin-inline-end: 0;
|
|
}
|
|
|
|
& .label {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
@container (width < 228px) {
|
|
.button {
|
|
aspect-ratio: 1 / 1;
|
|
padding: 0;
|
|
|
|
& > svg {
|
|
margin-inline-end: 0;
|
|
}
|
|
|
|
& .label {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|