From 7dded448876bc0726262e15c8e1023d0c2f82ff2 Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Fri, 14 May 2021 14:43:02 +0500 Subject: [PATCH] Align the buttons in the non-existent hypha notice --- assets/assets.qtpl.go | 4 ++-- assets/default.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/assets.qtpl.go b/assets/assets.qtpl.go index c265a2f..a0d2dc5 100644 --- a/assets/assets.qtpl.go +++ b/assets/assets.qtpl.go @@ -120,7 +120,7 @@ func StreamDefaultCSS(qw422016 *qt422016.Writer) { .non-existent-hypha__subtitle { margin: 0; } .amnt-grid { display: grid; grid-template-columns: 1fr 1fr; } -#upload-binary__input { display: block; margin: .25rem 0 .5rem 0; } +#upload-binary__input { display: block; margin: .25rem 0 .25rem 0; } .modal__title { font-size: 2rem; } .modal__title_small { font-size: 1.5rem; } @@ -321,7 +321,7 @@ caption { caption-side: top; font-size: small; } .relative-hyphae__link { text-decoration: none; display: block; padding: .25rem .5rem; } ::-webkit-file-upload-button, -.btn { display: inline-block; border: 1px #999 solid; border-radius: .25rem; text-decoration: none; padding: .25rem; font-size: 1rem; margin: 0; } +.btn { line-height: normal; display: inline-block; border: 1px #999 solid; border-radius: .25rem; text-decoration: none; padding: .25rem; font-size: 1rem; margin: 0; } /* Color stuff */ /* Lighter stuff #eee */ diff --git a/assets/default.css b/assets/default.css index c44b911..344df31 100644 --- a/assets/default.css +++ b/assets/default.css @@ -5,7 +5,7 @@ .non-existent-hypha__subtitle { margin: 0; } .amnt-grid { display: grid; grid-template-columns: 1fr 1fr; } -#upload-binary__input { display: block; margin: .25rem 0 .5rem 0; } +#upload-binary__input { display: block; margin: .25rem 0 .25rem 0; } .modal__title { font-size: 2rem; } .modal__title_small { font-size: 1.5rem; } @@ -206,7 +206,7 @@ caption { caption-side: top; font-size: small; } .relative-hyphae__link { text-decoration: none; display: block; padding: .25rem .5rem; } ::-webkit-file-upload-button, -.btn { display: inline-block; border: 1px #999 solid; border-radius: .25rem; text-decoration: none; padding: .25rem; font-size: 1rem; margin: 0; } +.btn { line-height: normal; display: inline-block; border: 1px #999 solid; border-radius: .25rem; text-decoration: none; padding: .25rem; font-size: 1rem; margin: 0; } /* Color stuff */ /* Lighter stuff #eee */