mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 08:47:40 -05:00
updaged formatting
This commit is contained in:
@@ -21,11 +21,16 @@
|
||||
|
||||
.label-item {
|
||||
padding: 9px 2px 5px 2px;
|
||||
width: 130px;
|
||||
width: 150px;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
.tag-label {
|
||||
max-width: 75px;
|
||||
overflow: clip;
|
||||
text-wrap-mode: nowrap;
|
||||
}
|
||||
.mediaplayer {
|
||||
flex-grow: 1;
|
||||
color: white;
|
||||
|
||||
@@ -142,7 +142,7 @@ const MediaPlayer = (props) => {
|
||||
if (call.srcList.length > sourceIndex) {
|
||||
sourceId = call.srcList[sourceIndex].src;
|
||||
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 = {};
|
||||
@@ -204,7 +204,7 @@ const MediaPlayer = (props) => {
|
||||
{playTime}
|
||||
Sec
|
||||
</Label>
|
||||
<Label color="black" className="desktop-only">
|
||||
<Label color="black" className="desktop-only tag-label">
|
||||
{sourceTag!== "" ? sourceTag : sourceId}
|
||||
</Label>
|
||||
</LabelGroup>
|
||||
|
||||
Reference in New Issue
Block a user