Skip to content

Commit 4d15b8d

Browse files
fix: Alignment issues on tutorial header
1 parent 2f89b87 commit 4d15b8d

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/components/header.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Header = () => {
2020
</svg>
2121
</a>
2222
<nav className="flex-auto flex items-center">
23-
<nav className="flex w-4/5">
23+
<nav className="flex w-7/12">
2424
<div className="flex items-stretch font-semibold ml-20">
2525
<a className="btn btn-ghost btn-sm pr-2 rounded-btn" href={'/docs/'}>
2626
Docs

src/components/navcards.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
border: .1rem solid $light-grey;
66
border-radius: 2px;
77
@media (max-width: 767px) {
8-
@apply w-full m-8;
8+
@apply m-8;
9+
width: 100%;
910
}
1011
&:hover{
1112
background: $black_haze;

src/templates/page.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ code[class*="language-"] {
640640
width: 60%;
641641
}
642642
@media (min-width: 1024px) {
643-
@apply w-1/5;
643+
@apply w-2/5;
644644
}
645645
@media (max-width: 1279px) {
646646
@apply p-0;

0 commit comments

Comments
 (0)