Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blog page #157

Merged
merged 7 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,4 @@

.tag {
transition: border 0.3s ease;
border: size(1) solid $grey;
}
13 changes: 11 additions & 2 deletions site/src/components/pages/PostPage/PostPage.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,25 @@
display: none;
transition: opacity 0.3s ease;

align-items: center;

@include button-small;

@include hover {
opacity: 0.5;
}

@include mobile {
width: 100%;
display: inline-flex;
padding: size($spacing12) 0;
margin-top: 0;
padding: 0;
}
}

.arrow {
transform: rotate(270deg);
width: size(18);
width: size(14);
height: size(14);
margin-right: size($spacing8);
}
Expand Down Expand Up @@ -247,6 +252,10 @@
word-wrap: normal;

@include paragraph;

@include mobile {
max-width: size(335);
}
}

a {
Expand Down
2 changes: 1 addition & 1 deletion site/src/components/pages/PostPage/PostPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type PostPageProps = {
const ArrowButton = ({ className }: ArrowButtonProps) => (
<Button href="/blog" className={cx(s.centerItems, className)}>
<Icon name="arrow-up" className={s.arrow} />
<p className={s.paragraph}>Back to Blog</p>
<p>Back to Blog</p>
</Button>
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@

@include mobile {
flex-wrap: nowrap;
overflow-x: auto;
margin-bottom: 0;
background-color: $gray900;
}
Expand Down