Skip to content

Commit

Permalink
Push a little polish
Browse files Browse the repository at this point in the history
  • Loading branch information
Joen Asmussen authored and ellatrix committed Feb 15, 2019
1 parent 846a4e5 commit 38cb03d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/format-library/src/image/style.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
.editor-format-toolbar__image-container-content {
display: flex;

.components-icon-button {
height: $icon-button-size + $grid-size + $grid-size;
align-self: flex-end;
}
}

.editor-format-toolbar__image-container-value {
margin: $grid-size - $border-width;
flex-grow: 1;
flex-shrink: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 150px;
max-width: 500px;

&.components-base-control .components-base-control__field {
margin-bottom: 0;
}
}

0 comments on commit 38cb03d

Please sign in to comment.