add flex for edit-this-page div

This commit is contained in:
Nick Shine 2018-12-03 01:21:05 -06:00 committed by Alexander Shpak
parent e3204d84b3
commit 3bb53572c2
3 changed files with 14 additions and 0 deletions

View file

@ -133,6 +133,18 @@ ul.pagination {
} }
} }
.book-git-footer {
display: flex;
margin-top: $padding-16;
font-size: $font-size-12;
align-items: baseline;
img {
width: $font-size-12;
vertical-align: bottom;
}
}
.book-posts { .book-posts {
min-width: $body-min-width; min-width: $body-min-width;
max-width: $sm-breakpoint; max-width: $sm-breakpoint;

View file

@ -29,6 +29,7 @@
<div class="book-page"> <div class="book-page">
{{ partial "docs/mobile-header" . }} {{ partial "docs/mobile-header" . }}
{{ template "main" . }} {{ template "main" . }}
{{ partial "docs/git-footer" . }}
</div> </div>
{{ template "toc" . }} {{ template "toc" . }}

1
static/svg/code-fork.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21 3c0-1.657-1.343-3-3-3s-3 1.343-3 3c0 1.323.861 2.433 2.05 2.832.168 4.295-2.021 4.764-4.998 5.391-1.709.36-3.642.775-5.052 2.085v-7.492c1.163-.413 2-1.511 2-2.816 0-1.657-1.343-3-3-3s-3 1.343-3 3c0 1.305.837 2.403 2 2.816v12.367c-1.163.414-2 1.512-2 2.817 0 1.657 1.343 3 3 3s3-1.343 3-3c0-1.295-.824-2.388-1.973-2.808.27-3.922 2.57-4.408 5.437-5.012 3.038-.64 6.774-1.442 6.579-7.377 1.141-.425 1.957-1.514 1.957-2.803zm-16.8 0c0-.993.807-1.8 1.8-1.8s1.8.807 1.8 1.8-.807 1.8-1.8 1.8-1.8-.807-1.8-1.8zm3.6 18c0 .993-.807 1.8-1.8 1.8s-1.8-.807-1.8-1.8.807-1.8 1.8-1.8 1.8.807 1.8 1.8zm10.2-16.2c-.993 0-1.8-.807-1.8-1.8s.807-1.8 1.8-1.8 1.8.807 1.8 1.8-.807 1.8-1.8 1.8z"/></svg>

After

Width:  |  Height:  |  Size: 775 B