Skip to content

Commit

Permalink
fix banner in about
Browse files Browse the repository at this point in the history
  • Loading branch information
hrfee committed Dec 31, 2021
1 parent d1b5b74 commit 4eb7afe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion css/base.css
Expand Up @@ -75,7 +75,8 @@ html:not(.dark) .card.\@low:not(.\~neutral):not(.\~positive):not(.\~urge):not(.\

.banner.header {
margin-bottom: var(--spacing-4,1rem);
max-width: inherit !important;
max-width: calc(100% + 2.2rem); /* no idea why this works */
margin-left: -1.1rem;
}

.banner.footer {
Expand Down
2 changes: 1 addition & 1 deletion html/admin.html
Expand Up @@ -43,7 +43,7 @@
</form>
</div>
<div id="modal-about" class="modal">
<div class="modal-content content card wide">
<div class="modal-content content card">
<img src="{{ .urlBase }}/banner.svg" class="banner header" alt="jfa-go banner">
<span class="heading"><span class="modal-close">&times;</span></span>
<p>{{ .strings.version }} <span class="code monospace">{{ .version }}</span></p>
Expand Down

0 comments on commit 4eb7afe

Please sign in to comment.