don't use down icon

pull/229/head
firm1 4 years ago
parent da5528024c
commit 0ad63b2121

@ -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…
Cancel
Save