1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 09:00:10 +00:00

fix banner in about

This commit is contained in:
Harvey Tindall 2021-12-31 17:43:09 +00:00
parent d1b5b74060
commit 4eb7afead6
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
2 changed files with 3 additions and 2 deletions

View File

@ -75,7 +75,8 @@ html:not(.dark) .card.\@low:not(.\~neutral):not(.\~positive):not(.\~urge):not(.\
.banner.header { .banner.header {
margin-bottom: var(--spacing-4,1rem); 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 { .banner.footer {

View File

@ -43,7 +43,7 @@
</form> </form>
</div> </div>
<div id="modal-about" class="modal"> <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"> <img src="{{ .urlBase }}/banner.svg" class="banner header" alt="jfa-go banner">
<span class="heading"><span class="modal-close">&times;</span></span> <span class="heading"><span class="modal-close">&times;</span></span>
<p>{{ .strings.version }} <span class="code monospace">{{ .version }}</span></p> <p>{{ .strings.version }} <span class="code monospace">{{ .version }}</span></p>