diff --git a/obsidian.css b/obsidian.css index 40374fd..a38aede 100644 --- a/obsidian.css +++ b/obsidian.css @@ -2622,15 +2622,15 @@ body.theme-dark { /* Font weights */ .markdown-preview-view { - font-weight: var(--anp-font-preview-wt, 400); + font-weight: var(--anp-font-preview-wt, normal); } .markdown-source-view { - font-weight: var(--anp-font-editor-wt, 400); + font-weight: var(--anp-font-editor-wt, normal); } .is-live-preview { - font-weight: var(--anp-font-live-preview-wt, 400); + font-weight: var(--anp-font-live-preview-wt, normal); } /*-Slider checkboxes-*/ @@ -4888,6 +4888,11 @@ Icons were taken from Font Awesome: https://fontawesome.com/ background: rgba(var(--ctp-surface1), 0.4); } +/* Dirty Speech Bubble Fix */ +.anp-speech-bubble .HyperMD-task-line[data-task="0"], .anp-speech-bubble .HyperMD-task-line[data-task="1"], .anp-speech-bubble .HyperMD-task-line[data-task="2"], .anp-speech-bubble .HyperMD-task-line[data-task="3"], .anp-speech-bubble .HyperMD-task-line[data-task="4"], .anp-speech-bubble .HyperMD-task-line[data-task="5"], .anp-speech-bubble .HyperMD-task-line[data-task="6"], .anp-speech-bubble .HyperMD-task-line[data-task="7"], .anp-speech-bubble .HyperMD-task-line[data-task="8"], .anp-speech-bubble .HyperMD-task-line[data-task="9"] { + text-indent: 0px !important; +} + .anp-speech-bubble [data-task="0"] { background-color: rgba(var(--ctp-red), var(--anp-speech-bubble-opacity)); } diff --git a/src/modules/Base/file-preview.scss b/src/modules/Base/file-preview.scss index 09b3a8c..ad14bb5 100644 --- a/src/modules/Base/file-preview.scss +++ b/src/modules/Base/file-preview.scss @@ -24,11 +24,11 @@ } /* Font weights */ .markdown-preview-view { - font-weight: var(--anp-font-preview-wt, 400); + font-weight: var(--anp-font-preview-wt, normal); } .markdown-source-view { - font-weight: var(--anp-font-editor-wt, 400); + font-weight: var(--anp-font-editor-wt, normal); } .is-live-preview { - font-weight: var(--anp-font-live-preview-wt, 400); + font-weight: var(--anp-font-live-preview-wt, normal); } diff --git a/src/modules/Features/custom-checkboxes.scss b/src/modules/Features/custom-checkboxes.scss index 8ab19e7..1a117c4 100644 --- a/src/modules/Features/custom-checkboxes.scss +++ b/src/modules/Features/custom-checkboxes.scss @@ -281,6 +281,21 @@ Icons were taken from Font Awesome: https://fontawesome.com/ } } } +/* Dirty Speech Bubble Fix */ +.anp-speech-bubble .HyperMD-task-line { + &[data-task="0"], + &[data-task="1"], + &[data-task="2"], + &[data-task="3"], + &[data-task="4"], + &[data-task="5"], + &[data-task="6"], + &[data-task="7"], + &[data-task="8"], + &[data-task="9"] { + text-indent: 0px !important; + } +} .anp-speech-bubble [data-task="0"] { background-color: rgba(var(--ctp-red), var(--anp-speech-bubble-opacity)); } .anp-speech-bubble [data-task="1"] { background-color: rgba(var(--ctp-peach), var(--anp-speech-bubble-opacity)); } .anp-speech-bubble [data-task="2"] { background-color: rgba(var(--ctp-yellow), var(--anp-speech-bubble-opacity)); } diff --git a/theme.css b/theme.css index 7e45382..42abe33 100644 --- a/theme.css +++ b/theme.css @@ -2622,15 +2622,15 @@ body.theme-dark { /* Font weights */ .markdown-preview-view { - font-weight: var(--anp-font-preview-wt, 400); + font-weight: var(--anp-font-preview-wt, normal); } .markdown-source-view { - font-weight: var(--anp-font-editor-wt, 400); + font-weight: var(--anp-font-editor-wt, normal); } .is-live-preview { - font-weight: var(--anp-font-live-preview-wt, 400); + font-weight: var(--anp-font-live-preview-wt, normal); } /*-Slider checkboxes-*/ @@ -4888,6 +4888,11 @@ Icons were taken from Font Awesome: https://fontawesome.com/ background: rgba(var(--ctp-surface1), 0.4); } +/* Dirty Speech Bubble Fix */ +.anp-speech-bubble .HyperMD-task-line[data-task="0"], .anp-speech-bubble .HyperMD-task-line[data-task="1"], .anp-speech-bubble .HyperMD-task-line[data-task="2"], .anp-speech-bubble .HyperMD-task-line[data-task="3"], .anp-speech-bubble .HyperMD-task-line[data-task="4"], .anp-speech-bubble .HyperMD-task-line[data-task="5"], .anp-speech-bubble .HyperMD-task-line[data-task="6"], .anp-speech-bubble .HyperMD-task-line[data-task="7"], .anp-speech-bubble .HyperMD-task-line[data-task="8"], .anp-speech-bubble .HyperMD-task-line[data-task="9"] { + text-indent: 0px !important; +} + .anp-speech-bubble [data-task="0"] { background-color: rgba(var(--ctp-red), var(--anp-speech-bubble-opacity)); }