Commit 3d353a79 authored by Robert Knight's avatar Robert Knight

Simplify CSS per code review feedback

 - Remove `user-select` rule. This is no longer needed because the
   toolbar buttons are `button` elements rather than `i` elements
   (which have selectable text)
 - Simplify border rules
 - Use CSS color name instead of a variable for consistency within the
   file
parent 8a3b1d19
...@@ -4,15 +4,13 @@ $toolbar-border: 0.1em solid $grey-3; ...@@ -4,15 +4,13 @@ $toolbar-border: 0.1em solid $grey-3;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
background-color: $white; background-color: white;
border-top: $toolbar-border; border: $toolbar-border;
border-left: $toolbar-border; border-bottom: none;
border-right: $toolbar-border;
border-radius: 0.15em 0.15em 0 0; border-radius: 0.15em 0.15em 0 0;
width: 100%; width: 100%;
margin-bottom: -0.1em; margin-bottom: -0.1em;
padding: 5px 5px; padding: 5px 5px;
user-select: none;
} }
.markdown-editor__toolbar-button { .markdown-editor__toolbar-button {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment