Skip to content

Commit

Permalink
fix: samesite css
Browse files Browse the repository at this point in the history
  • Loading branch information
rottenpen committed Jul 19, 2022
1 parent 392297f commit 28daebb
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/@vuepress/theme-default/src/client/styles/navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@
}

.site-name {
display: inline-block;
width: calc(100vw - 18rem);
font-size: 1.3rem;
font-weight: 600;
color: var(--c-text);
position: relative;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}

.navbar-items-wrapper {
Expand Down Expand Up @@ -48,10 +53,7 @@
}

.site-name {
width: calc(100vw - 9.4rem);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: calc(100vw - 11rem);
}
}
}
Expand Down

0 comments on commit 28daebb

Please sign in to comment.