Skip to content

Commit

Permalink
Update schedule.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethllontop authored Oct 27, 2024
1 parent 94f11d4 commit af0039a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _sass/custom/schedule.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@
padding: $sp-1 $sp-2;
position: absolute;
width: 100%;
overflow: hidden; /* Prevents text from overflowing the box */
white-space: nowrap; /* Ensures text stays on one line; use `normal` if you want it to wrap */
text-overflow: ellipsis; /* Adds "..." if the text overflows */
display: flex;
flex-direction: column;
justify-content: center;

.name {
@extend .fs-3, .fw-700;
Expand Down

0 comments on commit af0039a

Please sign in to comment.