Skip to content

Commit 5abc66c

Browse files
committed
Modified style for titles in projector
1 parent ab3bd48 commit 5abc66c

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

projector/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</div>
1515

1616
<div class="bottom-bar" v-show="connected" transition="opacity">
17-
<div class="bottom-title">
17+
<div class="bottom-title small">
1818
{{ conf }}
1919
</div>
2020
<div class="counter-group">

projector/style.css

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,18 @@ body {
6262

6363
.bottom-title {
6464
font-size: 4vw;
65-
display: flex;
66-
align-items: center;
65+
overflow: hidden;
66+
67+
display: -webkit-box;
68+
-webkit-box-orient: vertical;
69+
70+
text-overflow: ellipsis;
71+
-webkit-line-clamp: 1;
72+
}
73+
74+
.bottom-title.small {
75+
font-size: 3vw;
76+
-webkit-line-clamp: 2;
6777
}
6878

6979
.bottom-title .material-icons {
@@ -89,6 +99,7 @@ body {
8999
display: inline-flex;
90100
align-items: center;
91101
margin-left: 2.5vw;
102+
min-width: max-content;
92103
}
93104

94105
.counter-group .material-icons {

0 commit comments

Comments
 (0)