Commit 6267babc authored by Randall Leeds's avatar Randall Leeds

Limit the markdown toolbar for tight spaces

parent 7e1a4673
...@@ -11,13 +11,9 @@ ...@@ -11,13 +11,9 @@
} }
.markdown-tools { .markdown-tools {
border-top: .1em solid #D3D3D3;
border-left: .1em solid #D3D3D3;
border-right: .1em solid #D3D3D3;
border-radius: .15em .15em 0 0;
width: 100%; width: 100%;
margin-bottom: -.1em; max-height: 1.4em;
padding: .7em .7em .7em .5em; overflow: hidden;
@include user-select(none); @include user-select(none);
&.disable { &.disable {
...@@ -27,7 +23,14 @@ ...@@ -27,7 +23,14 @@
} }
} }
.markdown-tools-button {padding: .4em;} .markdown-tools-button {
padding: .4em
}
.markdown-preview-toggle {
float: right;
margin-right: .4em;
}
.markdown-tools-button, .markdown-tools-toggle, .icon-markdown { .markdown-tools-button, .markdown-tools-toggle, .icon-markdown {
color: $gray; color: $gray;
...@@ -37,7 +40,4 @@ ...@@ -37,7 +40,4 @@
} }
} }
.markdown-preview-toggle {
float: right;
}
} }
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