mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-18 08:13:40 +08:00
style(next)/options: improve (again) the layout of the option cards
This commit is contained in:
parent
240ee2b6ac
commit
1e81831ea0
@ -2,11 +2,16 @@
|
|||||||
* Settings
|
* Settings
|
||||||
*/
|
*/
|
||||||
:root {
|
:root {
|
||||||
|
--options-card-min-width: 500px;
|
||||||
--options-card-max-width: 900px;
|
--options-card-max-width: 900px;
|
||||||
--options-card-padding: 17px;
|
--options-card-padding: 17px;
|
||||||
--options-title-font-size: 1rem;
|
--options-title-font-size: 1rem;
|
||||||
--options-title-offset: 13px;
|
--options-title-offset: 13px;
|
||||||
}
|
}
|
||||||
|
/* Create a gap at the top of the option pages */
|
||||||
|
.note-detail-content-widget-content.options>*:first-child {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
/* Create a gap at the bottom of option pages */
|
/* Create a gap at the bottom of option pages */
|
||||||
.note-detail-content-widget-content.options::after {
|
.note-detail-content-widget-content.options::after {
|
||||||
@ -21,6 +26,7 @@
|
|||||||
|
|
||||||
.options-section {
|
.options-section {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
min-width: var(--options-card-min-width);
|
||||||
max-width: var(--options-card-max-width);
|
max-width: var(--options-card-max-width);
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
border: 1px solid var(--card-border-color) !important;
|
border: 1px solid var(--card-border-color) !important;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user