style(next): layout improvements

This commit is contained in:
Elian Doran 2024-11-30 02:20:57 +02:00
parent b2d731619f
commit 0dd36cca1c
No known key found for this signature in database
3 changed files with 15 additions and 4 deletions

View File

@ -13,6 +13,8 @@ const TPL = `
<button type="button" class="create-etapi-token btn btn-sm">${t("etapi.create_token")}</button>
<hr />
<h5>${t("etapi.existing_tokens")}</h5>
<div class="no-tokens-yet">${t("etapi.no_tokens_yet")}</div>

View File

@ -19,6 +19,8 @@ const TPL = `
<p>${t("images.download_images_description")}</p>
<hr />
<label>
<input class="image-compresion-enabled" type="checkbox" name="image-compression-enabled">
${t("images.enable_image_compression")}

View File

@ -945,7 +945,9 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
}
.note-detail-content-widget-content.options {
padding-top: calc(15px + var(--options-title-offset) + var(--options-title-font-size));
--default-padding: 15px;
padding-top: calc(var(--default-padding) + var(--options-title-offset) + var(--options-title-font-size));
padding-bottom: var(--default-padding);
}
.options-section h4 {
@ -973,7 +975,12 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
margin-right: calc(var(--options-card-padding) * -1);
}
.options-section .existing-anonymized-databases,
.options-section h4:first-of-type + p:last-of-type /* Spellcheck */ {
.options-section p:last-of-type:not(:first-of-type),
.options-section h4 + p:last-child {
margin-bottom: 0;
}
}
.options-section .options-mime-types {
padding: 0;
margin: 0;
}