Skip to content

Commit 17092a6

Browse files
committed
fix overflowing
1 parent e27c76f commit 17092a6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

app/static/style.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ body {
5959
display: block;
6060
width: 100%;
6161
text-align: center;
62+
white-space: nowrap;
63+
overflow: visible;
6264
}
6365

6466
.milestone-markers {
@@ -170,15 +172,12 @@ body {
170172
.number .repo-name {
171173
font-weight: normal;
172174
position: absolute;
173-
bottom: 5px; /* Adjust for positioning */
175+
bottom: 5px;
174176
text-align: center;
175177
width: 100%;
176178
color: rgba(255, 255, 255, 0.8); /* Slightly lighter text for contrast */
177179
white-space: nowrap; /* Prevent wrapping */
178180
overflow: hidden; /* Prevent text spilling */
179-
text-overflow: ellipsis; /* Add ellipsis if too long */
180-
font-size: min(
181-
0.3em,
182-
4vw
183-
); /* Dynamically scale font-size based on viewport width */
181+
text-overflow: ellipsis;
182+
font-size: min(0.3em, 4vw);
184183
}

0 commit comments

Comments
 (0)