Skip to content

Commit

Permalink
Improve styling of page tiles when page links overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Sep 10, 2024
1 parent 163fb65 commit 1a46c22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/pagenav.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{%- if page.title or pate.temp_title -%}
<div class="pagenav">
<div>
<div class="page-title-area">
<a class="selflink" href="{{page.url | absolute_url}}">
{%- if page.wordmark -%}
<img class="wordmark" alt="{{page.temp_title | default: page.title}}" src="{{page.wordmark | absolute_url}}"/>
Expand Down
6 changes: 6 additions & 0 deletions _sass/dogwood/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -518,11 +518,16 @@ body:not(.layout-post):not(.layout-session) {

.pagenav {
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
border-bottom: 1px solid $alpha-grid-color;
margin-bottom: $sp;

.page-title-area {
padding-right: $sp*0.5;
}

.meta {
margin-bottom: $sp*0.5;
}
Expand All @@ -541,6 +546,7 @@ body:not(.layout-post):not(.layout-session) {

@media only screen and (max-width: $sections-width) {
flex-direction: column;
flex-wrap: nowrap;
}
}
.layout-page.has-image {
Expand Down

0 comments on commit 1a46c22

Please sign in to comment.