mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-14 09:48:10 -05:00
updaged formatting
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user