Minimal styling and old code removal

This commit is contained in:
okbel
2018-02-28 10:05:28 -03:00
parent d63422a4c2
commit 70d081df4a
6 changed files with 25 additions and 22 deletions
@@ -10,24 +10,22 @@
font-style: unset;
}
.button > i {
vertical-align: middle;
}
.button {
top: 0;
-webkit-box-shadow: none;
box-shadow: none;
border-radius: 4px;
padding: 0;
font-size: 14px;
margin-top: -2px;
background-color: transparent;
border: solid 1px transparent;
cursor: pointer;
height: 30px;
outline: 0;
width: 30px;
padding: 3px;
border: none;
color: #4e4e4e;
margin-right: 3px;
}
.button:hover{
background: #fcfcfc;
cursor: pointer;
border-radius: 3px;
background-color: #eae8e8;
}
.actionBar {
@@ -36,8 +34,6 @@
border-top: 1px solid #bbb;
border-left: 1px solid #bbb;
border-right: 1px solid #bbb;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.container {
@@ -62,7 +62,11 @@ class Editor extends React.Component {
Editor.defaultProps = {
defaultContent: '',
styleWithCSS: false,
actions: ['bold', 'italic', 'quote'],
actions: [
{ name: 'bold', icon: '<i class="material-icons">format_bold</i>' },
{ name: 'italic', icon: '<i class="material-icons">format_italic</i>' },
{ name: 'quote', icon: '<i class="material-icons">format_quote</i>' },
],
classNames: {
button: '',
content: '',