Skip to content

Commit

Permalink
Fix for readable line length turned off
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Ango authored and Stephan Ango committed May 12, 2021
1 parent 159cbb8 commit 03f196b
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions obsidian.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Minimal Obsidian 2.5.10 by @kepano
Minimal Obsidian 2.5.11 by @kepano
This theme is designed to be used with the Minimal Theme Settings
plugin and the Hider plugin.
Expand Down Expand Up @@ -801,6 +801,10 @@ body .kanban-plugin__lane-setting-wrapper > div:last-child {
margin:0;
}

body .kanban-plugin__item.is-dragging {
box-shadow: 0 5px 30px rgba(0,0,0,0.15),
0 0 0 2px var(--text-selection);
}
body .kanban-plugin__lane.is-dragging {
box-shadow:0 5px 30px rgba(0,0,0,0.15);
border:1px solid var(--background-modifier-border);
Expand Down Expand Up @@ -1544,9 +1548,7 @@ border-bottom:1px solid #999;
max-width:var(--max-width);
width:var(--line-width);
}
.markdown-source-view.is-readable-line-width .CodeMirror,
.CodeMirror,
.markdown-preview-section {
.markdown-source-view.is-readable-line-width .CodeMirror {
padding-left:0;
padding-right:0;
margin:0 auto 0 auto;
Expand Down Expand Up @@ -1838,6 +1840,11 @@ input.document-replace-input:focus {
width:auto;
}

.minimal-folding .workspace > .workspace-split:not(.mod-root) .workspace-leaf-content[data-type=markdown] .allow-fold-headings.markdown-preview-view .markdown-preview-sizer,
.minimal-folding .workspace > .workspace-split:not(.mod-root) .workspace-leaf-content[data-type=markdown] .allow-fold-lists.markdown-preview-view .markdown-preview-sizer {
padding-left:0;
}

/* Hide embed styling for sidebar documents */
.workspace > .workspace-split:not(.mod-root) .internal-embed .markdown-embed {
border:none;
Expand Down

0 comments on commit 03f196b

Please sign in to comment.