Skip to content

Commit

Permalink
Fix element_tools icon position
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdeyen committed Dec 15, 2020
1 parent 2f60295 commit ef259c2
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions app/assets/stylesheets/alchemy/elements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -221,21 +221,10 @@
}
}

.element_tools {
display: flex;
width: 100%;
justify-content: space-between;
margin-left: 0;
}

.element-content {
margin: 4px 8px;
}

.button_with_label {
margin: 0 4px;
}

.content_editor,
.picture_thumbnail {
width: 100%;
Expand Down Expand Up @@ -338,10 +327,14 @@
padding: $default-padding 0;
height: $element-toolbar-height;
border-bottom: 1px solid $medium-gray;
}

.element_tools {
float: left;
margin-left: -$default-margin;
.element_tools {
display: flex;
width: 100%;

.button_with_label {
margin: 0 2px;
}
}

Expand Down

0 comments on commit ef259c2

Please sign in to comment.