Skip to content

Commit

Permalink
limit title on main to single line, hide overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HectorVilas committed Jan 17, 2023
1 parent 3f894ad commit eb26e54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ input:not([type="checkbox"]):focus {

.main-page-title {
grid-area: title;
white-space: nowrap;
overflow: hidden;
}
.main-page-todos {
grid-area: todos;
Expand Down Expand Up @@ -406,6 +408,7 @@ header {
.card .description:not(.edit-description),
.card label,
.project-title,
.main-page-title,
h1{
mask-image: linear-gradient(to left, transparent, white 50px);
}
Expand Down

0 comments on commit eb26e54

Please sign in to comment.