Skip to content

Commit

Permalink
Adjust margins and borders.
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Jun 26, 2019
1 parent 48b2c51 commit 6ac67da
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/editor/src/components/post-title/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,20 @@
color: $dark-gray-900;
flex-wrap: wrap;
height: auto;
position: relative;
left: $block-left-border-width;
top: -2px;
width: calc(100% - #{$block-left-border-width});

@include break-mobile() {
position: absolute;
top: -$block-toolbar-height + $border-width + $border-width + 1px; // Shift this element upward the same height as the block toolbar, minus the border size
right: 0;
flex-wrap: nowrap;
width: auto;
}
@include break-small() {
left: $block-side-ui-clearance;
right: $block-side-ui-clearance;
flex-wrap: nowrap;
}
}

0 comments on commit 6ac67da

Please sign in to comment.