-
Notifications
You must be signed in to change notification settings - Fork 0
fix(blog): 한글 글 경로와 모바일 쉘 정렬 수정 #123
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,8 @@ | |
| grid-template-areas: | ||
| 'identity' | ||
| 'navigation' | ||
| 'content'; | ||
| 'content' | ||
| 'footer'; | ||
|
Comment on lines
+12
to
+13
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Adding the AGENTS.md reference: AGENTS.md:L74-L76 Useful? React with 👍 / 👎. |
||
| row-gap: var(--space-4); | ||
| min-height: auto; | ||
| } | ||
|
|
@@ -38,6 +39,12 @@ | |
| grid-area: content; | ||
| } | ||
|
|
||
| .ark-site-footer { | ||
| grid-area: footer; | ||
| position: static; | ||
| height: auto; | ||
| } | ||
|
|
||
| .ark-site-navigation { | ||
| grid-area: navigation; | ||
| flex-direction: row; | ||
|
|
@@ -77,16 +84,60 @@ | |
| } | ||
|
|
||
| .ark-site-grid[data-page-layout='home'] .ark-site-external-links { | ||
| grid-area: external; | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-self: end; | ||
| justify-self: start; | ||
| gap: 0; | ||
| margin-top: 0; | ||
| } | ||
|
|
||
| .ark-site-grid[data-page-layout='home'] .ark-site-footer { | ||
| grid-area: external; | ||
| align-self: end; | ||
| justify-self: start; | ||
| margin-bottom: var(--space-8); | ||
|
Comment on lines
+95
to
+99
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
On the mobile home layout, AGENTS.md reference: AGENTS.md:L94-L95 Useful? React with 👍 / 👎. |
||
| } | ||
|
|
||
| .ark-site-grid[data-page-layout='content'] { | ||
| grid-template-columns: minmax(0, 1fr) auto; | ||
| grid-template-areas: | ||
| 'identity navigation' | ||
| 'content content' | ||
| 'footer footer'; | ||
| column-gap: var(--space-4); | ||
| } | ||
|
|
||
| .ark-site-grid[data-page-layout='content'] .ark-site-navigation { | ||
| grid-area: navigation; | ||
| flex-direction: row; | ||
| align-self: center; | ||
| justify-self: end; | ||
| gap: var(--space-4); | ||
| padding-top: 0; | ||
| } | ||
|
|
||
| .ark-site-grid[data-page-layout='content'] .ark-site-content { | ||
| grid-area: content; | ||
| } | ||
|
|
||
| .ark-site-grid[data-page-layout='content'] .ark-site-footer { | ||
| grid-area: footer; | ||
| border-top: 1px solid var(--color-divider); | ||
| padding-top: var(--space-6); | ||
| padding-bottom: var(--space-2); | ||
| } | ||
|
|
||
| .ark-site-grid[data-page-layout='content'] .ark-site-footer .ark-site-external-links { | ||
| height: auto; | ||
| } | ||
|
|
||
| .ark-site-grid[data-page-layout='content'] .ark-site-external-links { | ||
| flex-direction: row; | ||
| justify-content: center; | ||
| gap: var(--space-4); | ||
| } | ||
|
|
||
| .ark-site-grid[data-page-layout='home'] .ark-site-content { | ||
| grid-area: content; | ||
| align-self: start; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On content pages at widths of 640px and above, the footer shares row 1 with the article, so
align-self: endplaces GitHub/Email/RSS at the bottom of the entire article-sized grid row. For long posts, the links therefore disappear from the desktop identity rail until the reader reaches the end, whereas the previous links were inside the viewport-height sticky identity element. Keep the footer sticky or otherwise preserve the prior desktop rail placement while applying the footer layout only on mobile.AGENTS.md reference: AGENTS.md:L94-L95
Useful? React with 👍 / 👎.