Skip to content

Commit

Permalink
πŸ› set max-width for header
Browse files Browse the repository at this point in the history
  • Loading branch information
ddiu8081 committed Apr 6, 2021
1 parent b712902 commit 1fa1ffd
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/components/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -83,21 +83,23 @@
}
.gh-title {
color: var(--color-text-lighter);
margin-left: 8px;
margin: 0 8px;
font-size: 0.9rem;
font-weight: bold;
white-space: nowrap;
transform: translateX(-1rem);
transition: all .3s ease;
opacity: 0;
overflow-x: hidden;
text-overflow: ellipsis;
@include respond-to(sm) {
flex: 1;
}
&:before {
content: '/';
color: var(--color-text-lighter);
margin: 0 8px;
overflow-x: hidden;
text-overflow: ellipsis;
margin-right: 8px;
@include respond-to(sm) {
flex: 1;
content: '|';
}
}
Expand Down

0 comments on commit 1fa1ffd

Please sign in to comment.