let's stick with flexbox, but use native wrapping

This commit is contained in:
Jakob Ketterl 2020-08-12 22:14:02 +02:00
parent 80c25f459c
commit de34856d57

View File

@ -445,7 +445,6 @@ input[type=range]:disabled {
.openwebrx-demodulator-button
{
min-width: 38px;
height: 19px;
font-size: 12pt;
text-align: center;
@ -621,15 +620,16 @@ img.openwebrx-mirror-img
}
.openwebrx-modes-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
grid-gap: 5px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 5px;
}
.openwebrx-modes-grid .openwebrx-demodulator-button {
margin: 0;
overflow: hidden;
white-space: nowrap;
flex: 1 0 38px;
}
#openwebrx-smeter-outer