diff --git a/src/admin/scss/_tainacan-form.scss b/src/admin/scss/_tainacan-form.scss index 43d9c7e0c..ba0397310 100644 --- a/src/admin/scss/_tainacan-form.scss +++ b/src/admin/scss/_tainacan-form.scss @@ -70,7 +70,7 @@ border: 1px solid $gray2; background-color: $gray1 !important; color: $secondary !important; - padding: 0.75rem !important; + padding: 0 0.6rem !important; border-radius: 0 !important; .mdi::before { diff --git a/src/admin/scss/tainacan-admin.scss b/src/admin/scss/tainacan-admin.scss index bce8cf999..967592913 100644 --- a/src/admin/scss/tainacan-admin.scss +++ b/src/admin/scss/tainacan-admin.scss @@ -31,12 +31,12 @@ @import "../scss/_iframe_read_mode_overrides.scss"; // Clears wordpress content -body.tainacan-admin-page #adminmenumain, body.tainacan-admin-page #wpfooter, body.tainacan-admin-page #wp-auth-check-wrap { - display: none; -} html { overflow-y: hidden; } +body.tainacan-admin-page #adminmenumain, body.tainacan-admin-page #wpfooter, body.tainacan-admin-page #wp-auth-check-wrap { + display: none; +} #tainacan-admin-app { background: #ffffff; position: fixed; @@ -51,6 +51,21 @@ html { font-family: $family-sans-serif; } +// Scrollbars +#tainacan-admin-app * { + // For Firefox + scrollbar-color: $gray3 transparent; + scrollbar-width: thin; + + // For Chromium and related + &::-webkit-scrollbar { + width: 0.4rem; + } + &::-webkit-scrollbar-thumb { + background-color: $gray3; + } +} + // Tainacan Loading .tainacan-icon { opacity: 0; // Will make it 1 once window.load is done;