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
1 changed files with 13 additions and 1 deletions

View File

@ -623,13 +623,25 @@ img.openwebrx-mirror-img
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 5px;
margin: -5px -5px 0 0;
}
.openwebrx-modes-grid .openwebrx-demodulator-button {
margin: 0;
white-space: nowrap;
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