Skip to content

Commit

Permalink
Get rid of !important
Browse files Browse the repository at this point in the history
  • Loading branch information
eeroan committed Jan 27, 2020
1 parent 2bb432c commit 7b2a056
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions public/rich-text-editor.css
Expand Up @@ -153,7 +153,7 @@
}

.rich-text-editor-tools {
display: block !important;
display: block;
z-index: 2;
border-bottom: 1px solid #dfdfdf;
border-top: 1px solid #dfdfdf;
Expand All @@ -168,15 +168,15 @@
}

.rich-text-editor-characters-expanded {
display: none !important;
display: none;
}

.rich-text-editor-focus .rich-text-editor-characters-expanded {
top: 0;
}

.rich-text-editor-focus .rich-text-editor-tools {
display: block !important;
display: block;
transition: top 0.15s ease-in;
top: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/toolbars.js
Expand Up @@ -35,7 +35,7 @@ export function init(mathEditor, hasRichTextFocus, l, baseUrl) {
})

const $toolbar = $(`
<div class="rich-text-editor-tools" data-js="tools" style="display: none">
<div class="rich-text-editor-tools" data-js="tools">
<div class="rich-text-editor-tools-button-wrapper">
<div class="rich-text-editor-toolbar-wrapper">
Expand Down

0 comments on commit 7b2a056

Please sign in to comment.