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;
display: flex;
flex-direction: row;
background-color: $white;
border-top: $toolbar-border;
border-left: $toolbar-border;
border-right: $toolbar-border;
background-color: white;
border: $toolbar-border;
border-bottom: none;
border-radius: 0.15em 0.15em 0 0;
width: 100%;
margin-bottom: -0.1em;
padding: 5px 5px;
user-select: none;
}
.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