Skip to content

Commit 588e15c

Browse files
committed
fix(settings): not fitting properly on mobile
1 parent 93b8ad2 commit 588e15c

File tree

1 file changed

+6
-3
lines changed
  • apps/client/src/stylesheets/theme-next

1 file changed

+6
-3
lines changed

apps/client/src/stylesheets/theme-next/pages.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ div.note-detail-empty {
181181
}
182182

183183
.options-section:not(.tn-no-card) {
184-
margin: auto;
185-
min-width: var(--options-card-min-width);
186-
max-width: var(--options-card-max-width);
184+
margin: auto;
187185
border-radius: 12px;
188186
border: 1px solid var(--card-border-color) !important;
189187
box-shadow: var(--card-box-shadow);
@@ -192,6 +190,11 @@ div.note-detail-empty {
192190
margin-bottom: calc(var(--options-title-offset) + 26px) !important;
193191
}
194192

193+
body.desktop .option-section:not(.tn-no-card) {
194+
min-width: var(--options-card-min-width);
195+
max-width: var(--options-card-max-width);
196+
}
197+
195198
.note-detail-content-widget-content.options {
196199
--default-padding: 15px;
197200
padding-top: calc(var(--default-padding) + var(--options-title-offset) + var(--options-title-font-size));

0 commit comments

Comments
 (0)