Skip to content

Commit

Permalink
fix: fix bug with navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhojang6 committed Mar 21, 2024
1 parent 34b6057 commit 49a0f64
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
19 changes: 19 additions & 0 deletions packages/docusaurus-playground/src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,22 @@ html {
.theme-doc-breadcrumbs {
display: none;
}

.mdx-hero > .mdx-hero-image > img {
position: absolute;
right: 0;
top: 0;
margin-top: -65%;
}

@media screen and (min-width: 996px) {
.mdx-hero > .mdx-hero-image > img {
position: absolute;
right: 0;
top: 0;
transform: rotate(170deg);
margin-right: -300px;
margin-top: -78%;
scale: 0.95;
}
}
4 changes: 0 additions & 4 deletions packages/logos-docusaurus-theme/src/client/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,6 @@ a code {
overflow-x: hidden !important;
}

#__docusaurus {
overflow-x: hidden !important;
}

.navbar {
background-color: transparent;
}
Expand Down

0 comments on commit 49a0f64

Please sign in to comment.