Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
fix: responsive 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Koderpark committed Jan 26, 2025
1 parent 253491f commit 546b6c2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
4 changes: 2 additions & 2 deletions assets/built/index.css

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions assets/css/components/list.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,7 @@
.list-article .img {
width: 256px;
overflow: hidden;
@apply m-2 aspect-video;
}

.list-article .img > img {
@apply rounded;
@apply m-2 aspect-video rounded;
}

.list-article .list-desc {
Expand All @@ -87,6 +83,5 @@
width: 100%;
overflow: hidden;
margin: 0;
@apply p-4;
}
}
8 changes: 5 additions & 3 deletions assets/css/ghost/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::after {
/* ---------------------------------------------------------- */
/* IDs needed to ensure sufficient specificity */

@media (max-width: 1080px) {
@media (max-width: 1024px) {
.gh-burger {
display: inline-block;
}
Expand All @@ -225,7 +225,6 @@ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::after {
overflow: hidden;
}
#gh-head .gh-head-inner {
height: 100%;
grid-template-columns: 1fr;
}
#gh-head .gh-head-brand {
Expand All @@ -250,7 +249,10 @@ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::after {
flex-direction: column;
align-items: center;
text-align: center;
margin: 0 0 10vh 0;
margin: 0;
}
#gh-head .gh-head-menu .nav {
gap: 0;
}
#gh-head .gh-head-menu .nav li {
margin: 5px 0;
Expand Down
2 changes: 1 addition & 1 deletion partials/list/article.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</header>
</div>
{{!-- {{#if feature_image}} --}}
<div class="flex flex-col justify-center">
<div class="flex flex-col justify-center p-4">
<div class="img">
{{#if feature_image}}
{{> "card/image" href=feature_image size="600px" alt=title class="object-cover object-center h-full w-full"}}
Expand Down

0 comments on commit 546b6c2

Please sign in to comment.