Skip to content

Commit

Permalink
fix overflowing
Browse files Browse the repository at this point in the history
  • Loading branch information
KenwoodFox committed Jan 5, 2025
1 parent e27c76f commit 17092a6
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions app/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ body {
display: block;
width: 100%;
text-align: center;
white-space: nowrap;
overflow: visible;
}

.milestone-markers {
Expand Down Expand Up @@ -170,15 +172,12 @@ body {
.number .repo-name {
font-weight: normal;
position: absolute;
bottom: 5px; /* Adjust for positioning */
bottom: 5px;
text-align: center;
width: 100%;
color: rgba(255, 255, 255, 0.8); /* Slightly lighter text for contrast */
white-space: nowrap; /* Prevent wrapping */
overflow: hidden; /* Prevent text spilling */
text-overflow: ellipsis; /* Add ellipsis if too long */
font-size: min(
0.3em,
4vw
); /* Dynamically scale font-size based on viewport width */
text-overflow: ellipsis;
font-size: min(0.3em, 4vw);
}

0 comments on commit 17092a6

Please sign in to comment.