Skip to content

Commit 1e81831

Browse files
committed
style(next)/options: improve (again) the layout of the option cards
1 parent 240ee2b commit 1e81831

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/public/stylesheets/theme-next/settings.css

+6
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
* Settings
33
*/
44
:root {
5+
--options-card-min-width: 500px;
56
--options-card-max-width: 900px;
67
--options-card-padding: 17px;
78
--options-title-font-size: 1rem;
89
--options-title-offset: 13px;
910
}
11+
/* Create a gap at the top of the option pages */
12+
.note-detail-content-widget-content.options>*:first-child {
13+
margin-top: 1em;
14+
}
1015

1116
/* Create a gap at the bottom of option pages */
1217
.note-detail-content-widget-content.options::after {
@@ -21,6 +26,7 @@
2126

2227
.options-section {
2328
margin: auto;
29+
min-width: var(--options-card-min-width);
2430
max-width: var(--options-card-max-width);
2531
border-radius: 12px;
2632
border: 1px solid var(--card-border-color) !important;

0 commit comments

Comments
 (0)