Skip to content

Commit

Permalink
Add truncating for text in sensors block to improve behavior with dif…
Browse files Browse the repository at this point in the history
…ferent languages
  • Loading branch information
bfmvsa committed Sep 23, 2024
1 parent c4a76a4 commit fb2b8ee
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ input[type="number"]::-webkit-inner-spin-button {
#sensor-status li {
float: left;
height: 67px;
width: 33px;
width: 35px;
line-height: 18px;
text-align: center;
border: 1px solid #373737;
Expand All @@ -289,6 +289,19 @@ input[type="number"]::-webkit-inner-spin-button {
text-shadow: 0 1px rgba(0, 0, 0, 1.0);
}

#sensor-status li .gyroicon,
#sensor-status li .accicon,
#sensor-status li .magicon,
#sensor-status li .baroicon,
#sensor-status li .gpsicon,
#sensor-status li .opflowicon,
#sensor-status li .sonaricon,
#sensor-status li .airspeedicon {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.gyroicon {
background: url("./../../images/icons/sensor_gyro_off.png") no-repeat top;
background-size: 43px;
Expand Down

0 comments on commit fb2b8ee

Please sign in to comment.