diff --git a/dist/js/export.js b/dist/js/export.js index 1750bf2f4b..40909f67d3 100644 --- a/dist/js/export.js +++ b/dist/js/export.js @@ -1,6 +1,6 @@ document.body.onload = function () { $(function () { - var link = $('markuplink, a'); + var link = $('a'); var block = $('.block'); var bookmark = $('.block.blockBookmark .inner'); diff --git a/src/scss/block/markup.scss b/src/scss/block/markup.scss index 51c2899b92..ce1ebcd150 100644 --- a/src/scss/block/markup.scss +++ b/src/scss/block/markup.scss @@ -6,7 +6,7 @@ smile { smile * { display: inline; vertical-align: middle; } smile .loaderWrapper { display: inline-block; } -a.markuplink { color: inherit; text-decoration: none; } +.markuplink { color: inherit; text-decoration: none; } markupcode { display: inline; font-family: 'Plex'; border-radius: 4px; background: var(--color-shape-secondary); padding: 1px 4px; } @@ -16,10 +16,10 @@ markupemoji { smile img { vertical-align: top; } } -markuplink, markupobject { +.markuplink, markupobject { position: relative; color: inherit; text-decoration: none; border-bottom: 0.075em solid; transition: border-color $transitionCommon; cursor: default; } -markuplink.disabled, markupobject.disabled { border-width: 0px; } +.markuplink.disabled, markupobject.disabled { border-width: 0px; } markupmention { display: inline; user-select: all !important; position: relative; cursor: default; } markupmention * { user-select: text !important; } diff --git a/src/scss/block/text.scss b/src/scss/block/text.scss index 4c64f3d0e1..b7e0172878 100644 --- a/src/scss/block/text.scss +++ b/src/scss/block/text.scss @@ -133,7 +133,7 @@ name { font-weight: inherit; } } markupbold { font-weight: 700; } - markuplink, markupobject { font-weight: inherit; } + a.markuplink, markupobject { font-weight: inherit; } } /* Header2 */ @@ -145,7 +145,7 @@ name { font-weight: inherit; } } markupbold { font-weight: 700; } - markuplink, markupobject { font-weight: inherit; } + .markuplink, markupobject { font-weight: inherit; } } /* Header3 */ @@ -157,7 +157,7 @@ name { font-weight: inherit; } } markupbold { font-weight: 700; } - markuplink, markupobject { font-weight: inherit; } + .markuplink, markupobject { font-weight: inherit; } } /* Quote */