mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	style(next): layout improvements
This commit is contained in:
		| @@ -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> | ||||
|   | ||||
| @@ -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")} | ||||
|   | ||||
| @@ -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; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user