File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed
Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change 1919#snippetor-modal .modal {
2020 background-color : var (--background-primary );
2121 color : var (--text-normal );
22- width : 80vw ;
23- max-width : 90vw ;
2422
2523 --toggle-thumb-color : white ;
2624 --slider-track-background : var (--background-modifier-border );
2725 --background-modifier-border-hover : var (--background-modifier-border );
2826
27+ // Max width for narrow displays
28+ width : 100vw ;
29+ max-width : 100vw ;
30+
31+ // remove padding for narrow displays
32+ .snippetor-content.markdown-preview-view {
33+ padding : 0 ;
34+ }
35+
2936 input [type = " text" ] {
3037 background-color : var (--background-primary );
3138 }
3239
3340 .setting-item.snippet-filename {
34- button .generate-css :active :after {
41+ button .generate-css :active :: after {
3542 content : " ⚙️" ;
3643 position : absolute ;
3744 right : 15px ;
221228 display : block ;
222229 }
223230}
231+
232+ // For wider displays, fix the width (float center) and use standard padding
233+ @media (min-width : 800px ) {
234+ #snippetor-modal .modal {
235+ width : 90vw ;
236+ max-width : 1000px ;
237+
238+ .snippetor-content.markdown-preview-view {
239+ padding : var (--file-margins );
240+ }
241+ }
242+ }
You can’t perform that action at this time.
0 commit comments