Added
This commit is contained in:
29
.obsidian/snippets/wide-dashboard.css
vendored
Normal file
29
.obsidian/snippets/wide-dashboard.css
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
/* Wide layout only for notes with cssclass: wide-dashboard */
|
||||
.wide-dashboard .markdown-source-view,
|
||||
.wide-dashboard .markdown-preview-view {
|
||||
max-width: 100% !important;
|
||||
width: 100% !important;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
/* Make Dataview and Columns plugin blocks span full width */
|
||||
.wide-dashboard .dataviewjs-rendered,
|
||||
.wide-dashboard .markdown-preview-section {
|
||||
max-width: 100% !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
/* Optional: reduce padding/margins for tighter dashboard look */
|
||||
.wide-dashboard .markdown-preview-view {
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
/* Columns plugin fine-tuning */
|
||||
.wide-dashboard .callout[data-callout="col"] {
|
||||
width: 100% !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user