fix(overlay): tidy the OBS tower header and rows (1.42.2)
The name no longer wraps beside the clock, position badges no longer overlap names, the suspect flag sits inline, and the transponder line is gone.
This commit is contained in:
1 parent
7d097fd531
commit
3eb4b5f042
5 files changed
+40
-11
No files matched your search
+22
-3
@@ -4062,7 +4062,7 @@ select:focus {
|
||||
}
|
||||
|
||||
.overlay-obs-tower-left {
|
||||
flex: 0 1 320px;
|
||||
flex: 0 1 380px;
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
max-width: 100%;
|
||||
@@ -4099,6 +4099,18 @@ select:focus {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.overlay-obs-tower-title {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* One line each: a long name is cut with … instead of wrapping beside the clock. */
|
||||
.overlay-obs-tower-brand h2,
|
||||
.overlay-obs-tower-title .overlay-kicker {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.overlay-obs-tower-brand h2 {
|
||||
margin: 0;
|
||||
font-family: Orbitron, sans-serif;
|
||||
@@ -4107,6 +4119,9 @@ select:focus {
|
||||
}
|
||||
|
||||
.overlay-obs-tower-clock {
|
||||
flex: none;
|
||||
/* Equal-width digits: the box doesn't change width every second. */
|
||||
font-variant-numeric: tabular-nums;
|
||||
font-family: Orbitron, sans-serif;
|
||||
font-size: clamp(0.98rem, 1.2vw, 1.15rem);
|
||||
line-height: 1;
|
||||
@@ -4132,7 +4147,7 @@ select:focus {
|
||||
|
||||
.overlay-obs-tower-row {
|
||||
display: grid;
|
||||
grid-template-columns: 24px minmax(72px, 1fr) minmax(0, auto);
|
||||
grid-template-columns: 30px minmax(72px, 1fr) minmax(0, auto);
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
padding: 5px 6px;
|
||||
@@ -4154,7 +4169,11 @@ select:focus {
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.overlay-obs-tower-driver span {
|
||||
.overlay-obs-tower-row .pos-pill {
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
.overlay-obs-tower-driver .overlay-obs-tower-sub {
|
||||
display: block;
|
||||
color: var(--muted);
|
||||
font-size: 0.52rem;
|
||||
|
||||
Reference in new issue
Block a user