style fix: handle long titles

long titles would overflow
- list editor
- info titles
- backstage view
- public view
This commit is contained in:
cv
2021-10-24 12:38:57 +02:00
parent 759dece70f
commit a638e5962c
6 changed files with 27 additions and 4 deletions
@@ -37,6 +37,10 @@
.entryTitle {
align-self: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.entryPast,
@@ -144,6 +144,9 @@
border-radius: 4px;
width: 100%;
display: block;
white-space: nowrap;
overflow: hidden;
}
.oscLabel {
+12
View File
@@ -6,6 +6,8 @@
border: 1px solid rgba(0, 0, 0, 0.05);
border-radius: 4px;
padding: 8px;
max-width: 90%;
}
.main {
@@ -13,6 +15,8 @@
color: #ff7597;
display: flex;
justify-content: space-between;
max-width: 90%;
}
.header {
@@ -24,6 +28,12 @@
justify-content: space-between;
}
.labelContainer {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.label,
.emptyLabel {
padding: 0;
@@ -47,6 +57,8 @@
.notes {
color: #d69e2e;
overflow: hidden;
text-overflow: ellipsis;
}
.if {
+3 -3
View File
@@ -26,19 +26,19 @@ export default function InfoTitle(props) {
{!collapsed && (
<>
<div>
<div className={style.labelContainer}>
<span className={noTitl ? style.emptyLabel : style.label}>
Title
</span>
{data.title}
</div>
<div>
<div className={style.labelContainer}>
<span className={noPres ? style.emptyLabel : style.label}>
Presenter
</span>
{data.presenter}
</div>
<div>
<div className={style.labelContainer}>
<span className={noSubt ? style.emptyLabel : style.label}>
Subtitle
</span>
@@ -55,6 +55,8 @@
.todayContainer {
background-color: rgba(255, 255, 255, 0.05);
padding: 1vh 2vw;
overflow: hidden;
}
.clockContainer,
@@ -163,7 +165,7 @@
.countdownContainer {
grid-area: clck;
border-radius: 1vw 1vw 0 0;
border-radius: 1vw 1vw 0 0;
}
.clock {
@@ -55,6 +55,8 @@
.todayContainer {
background-color: rgba(255, 255, 255, 0.05);
padding: 1vh 2vw;
overflow: hidden;
}
.clockContainer,