mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-04 13:59:09 +00:00
style fix: handle long titles
long titles would overflow - list editor - info titles - backstage view - public view
This commit is contained in:
@@ -37,6 +37,10 @@
|
|||||||
|
|
||||||
.entryTitle {
|
.entryTitle {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
|
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entryPast,
|
.entryPast,
|
||||||
|
|||||||
@@ -144,6 +144,9 @@
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.oscLabel {
|
.oscLabel {
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
border: 1px solid rgba(0, 0, 0, 0.05);
|
border: 1px solid rgba(0, 0, 0, 0.05);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
||||||
|
max-width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main {
|
.main {
|
||||||
@@ -13,6 +15,8 @@
|
|||||||
color: #ff7597;
|
color: #ff7597;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
|
max-width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
@@ -24,6 +28,12 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.labelContainer {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
.label,
|
.label,
|
||||||
.emptyLabel {
|
.emptyLabel {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -47,6 +57,8 @@
|
|||||||
|
|
||||||
.notes {
|
.notes {
|
||||||
color: #d69e2e;
|
color: #d69e2e;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.if {
|
.if {
|
||||||
|
|||||||
@@ -26,19 +26,19 @@ export default function InfoTitle(props) {
|
|||||||
|
|
||||||
{!collapsed && (
|
{!collapsed && (
|
||||||
<>
|
<>
|
||||||
<div>
|
<div className={style.labelContainer}>
|
||||||
<span className={noTitl ? style.emptyLabel : style.label}>
|
<span className={noTitl ? style.emptyLabel : style.label}>
|
||||||
Title
|
Title
|
||||||
</span>
|
</span>
|
||||||
{data.title}
|
{data.title}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div className={style.labelContainer}>
|
||||||
<span className={noPres ? style.emptyLabel : style.label}>
|
<span className={noPres ? style.emptyLabel : style.label}>
|
||||||
Presenter
|
Presenter
|
||||||
</span>
|
</span>
|
||||||
{data.presenter}
|
{data.presenter}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div className={style.labelContainer}>
|
||||||
<span className={noSubt ? style.emptyLabel : style.label}>
|
<span className={noSubt ? style.emptyLabel : style.label}>
|
||||||
Subtitle
|
Subtitle
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -55,6 +55,8 @@
|
|||||||
.todayContainer {
|
.todayContainer {
|
||||||
background-color: rgba(255, 255, 255, 0.05);
|
background-color: rgba(255, 255, 255, 0.05);
|
||||||
padding: 1vh 2vw;
|
padding: 1vh 2vw;
|
||||||
|
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clockContainer,
|
.clockContainer,
|
||||||
@@ -163,7 +165,7 @@
|
|||||||
|
|
||||||
.countdownContainer {
|
.countdownContainer {
|
||||||
grid-area: clck;
|
grid-area: clck;
|
||||||
border-radius: 1vw 1vw 0 0;
|
border-radius: 1vw 1vw 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clock {
|
.clock {
|
||||||
|
|||||||
@@ -55,6 +55,8 @@
|
|||||||
.todayContainer {
|
.todayContainer {
|
||||||
background-color: rgba(255, 255, 255, 0.05);
|
background-color: rgba(255, 255, 255, 0.05);
|
||||||
padding: 1vh 2vw;
|
padding: 1vh 2vw;
|
||||||
|
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clockContainer,
|
.clockContainer,
|
||||||
|
|||||||
Reference in New Issue
Block a user