updaged formatting

This commit is contained in:
Luke Berndt
2026-01-12 21:50:05 -05:00
parent 75ad10eed4
commit 319d20ea75
2 changed files with 8 additions and 3 deletions

View File

@@ -21,11 +21,16 @@
.label-item { .label-item {
padding: 9px 2px 5px 2px; padding: 9px 2px 5px 2px;
width: 130px; width: 150px;
color: white; color: white;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
} }
.tag-label {
max-width: 75px;
overflow: clip;
text-wrap-mode: nowrap;
}
.mediaplayer { .mediaplayer {
flex-grow: 1; flex-grow: 1;
color: white; color: white;

View File

@@ -142,7 +142,7 @@ const MediaPlayer = (props) => {
if (call.srcList.length > sourceIndex) { if (call.srcList.length > sourceIndex) {
sourceId = call.srcList[sourceIndex].src; sourceId = call.srcList[sourceIndex].src;
if (call.srcList[sourceIndex].tag !== undefined && call.srcList[sourceIndex].tag !== null && call.srcList[sourceIndex].tag !== "") { if (call.srcList[sourceIndex].tag !== undefined && call.srcList[sourceIndex].tag !== null && call.srcList[sourceIndex].tag !== "") {
sourceTag = "(" + call.srcList[sourceIndex].tag + ")"; sourceTag = call.srcList[sourceIndex].tag;
} }
} }
playEnabled = {}; playEnabled = {};
@@ -204,7 +204,7 @@ const MediaPlayer = (props) => {
{playTime} {playTime}
Sec Sec
</Label> </Label>
<Label color="black" className="desktop-only"> <Label color="black" className="desktop-only tag-label">
{sourceTag!== "" ? sourceTag : sourceId} {sourceTag!== "" ? sourceTag : sourceId}
</Label> </Label>
</LabelGroup> </LabelGroup>