mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-23 09:54:28 -06:00
don't use down icon
This commit is contained in:
parent
26d2da9e29
commit
b11cd8edb0
@ -319,7 +319,13 @@
|
|||||||
|
|
||||||
.editor-toolbar .easymde-dropdown {
|
.editor-toolbar .easymde-dropdown {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 45px;
|
background: linear-gradient(to bottom right, #fff 0%, #fff 84%, #333 50%, #333 100%);
|
||||||
|
border-radius: 0px;
|
||||||
|
border: 1px solid #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.editor-toolbar .easymde-dropdown:hover {
|
||||||
|
background: linear-gradient(to bottom right, #fff 0%, #fff 84%, #333 50%, #333 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.easymde-dropdown-content {
|
.easymde-dropdown-content {
|
||||||
@ -333,17 +339,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.easymde-dropdown:active .easymde-dropdown-content,
|
.easymde-dropdown:active .easymde-dropdown-content,
|
||||||
.easymde-dropdown:focus .easymde-dropdown-content{
|
.easymde-dropdown:focus .easymde-dropdown-content {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.down {
|
|
||||||
transform: rotate(45deg);
|
|
||||||
-webkit-transform: rotate(45deg);
|
|
||||||
border: solid #777;
|
|
||||||
border-width: 0 3px 3px 0;
|
|
||||||
display: inline-block;
|
|
||||||
padding: 2px;
|
|
||||||
margin-left: 8px;
|
|
||||||
margin-bottom: 3px;
|
|
||||||
}
|
|
||||||
|
@ -122,9 +122,6 @@ function createToolbarDropdown(options, enableTooltips, shortcuts, parent) {
|
|||||||
var child = createToolbarButton(options.children[childrenIndex], true, enableTooltips, shortcuts, 'button', parent);
|
var child = createToolbarButton(options.children[childrenIndex], true, enableTooltips, shortcuts, 'button', parent);
|
||||||
content.appendChild(child);
|
content.appendChild(child);
|
||||||
}
|
}
|
||||||
var dropIcon = document.createElement('i');
|
|
||||||
dropIcon.className = 'down';
|
|
||||||
el.appendChild(dropIcon);
|
|
||||||
el.appendChild(content);
|
el.appendChild(content);
|
||||||
return el;
|
return el;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user