provide a fallback for browsers not supporting css gaps

This commit is contained in:
Jakob Ketterl 2020-08-13 19:39:56 +02:00
parent de34856d57
commit 56debcd08a

View File

@ -623,13 +623,25 @@ img.openwebrx-mirror-img
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
gap: 5px; margin: -5px -5px 0 0;
} }
.openwebrx-modes-grid .openwebrx-demodulator-button { .openwebrx-modes-grid .openwebrx-demodulator-button {
margin: 0; margin: 0;
white-space: nowrap; white-space: nowrap;
flex: 1 0 38px; flex: 1 0 38px;
margin: 5px 5px 0 0;
}
@supports(gap: 5px) {
.openwebrx-modes-grid {
margin: 0;
gap: 5px;
}
.openwebrx-modes-grid .openwebrx-demodulator-button {
margin: 0;
}
} }
#openwebrx-smeter-outer #openwebrx-smeter-outer