Skip to content

Commit

Permalink
style: fix menu, content, overflow-x problem
Browse files Browse the repository at this point in the history
  • Loading branch information
xianmin committed Nov 8, 2024
1 parent 03690e4 commit 36a587f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions assets/sass/_partial/_header/_desktop_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
.menu {
display: flex;
height: 100%;
// font-family: $global-serif-font-family;
flex-wrap: wrap;

.active {
font-weight: bold;
Expand All @@ -45,8 +45,7 @@

.menu-item {
display: block;
height: 100%;
min-height: 3em;
height: 3em;
position: relative;

&:hover {
Expand Down
2 changes: 1 addition & 1 deletion assets/sass/_partial/_post.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.content-wrapper {
display: grid;
grid-template-rows: auto 1fr;
grid-template-columns: 10.5rem 1fr 10.5rem;
grid-template-columns: 10.5rem minmax(0, 1fr) 10.5rem;
grid-template-areas: "toc content sidebar";

@include style-to-mobile() {
Expand Down

0 comments on commit 36a587f

Please sign in to comment.