Skip to content

Commit

Permalink
Separator - adjust margins
Browse files Browse the repository at this point in the history
  • Loading branch information
chmln committed Feb 20, 2018
1 parent ba3ba0d commit fc62b62
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions src/editor/Editr.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ import bold from "./modules/bold.js";
import italic from "./modules/italic.js";
import underline from "./modules/underline.js";
import alignLeft from "./modules/alignLeft.js"
import alignCenter from "./modules/alignCenter.js"
import alignRight from "./modules/alignRight.js"
import headings from "./modules/headings.vue";
import hyperlink from "./modules/hyperlink.vue";
import code from "./modules/code.js";
Expand All @@ -39,6 +44,7 @@ import separator from "./modules/separator.js";
const modules = [
bold, italic, underline, separator,
alignLeft, alignCenter, alignRight, separator,
headings, hyperlink, code,
list_ordered, list_unordered, separator,
image, table, separator,
Expand Down Expand Up @@ -246,13 +252,13 @@ $svgSize = 16px
&.vw-btn-separator
width 1px
margin 0 10px
margin 0 8px
&:hover
background initial
cursor default
i
i.vw-separator
border-left 1px solid alpha(black, 0.1)
height 100%
position absolute
Expand Down
2 changes: 1 addition & 1 deletion src/editor/modules/separator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
title: "separator",
icon: "<i class='separator'></i>"
icon: "<i class='vw-separator'></i>"
}

0 comments on commit fc62b62

Please sign in to comment.