Skip to content

Commit

Permalink
Fix alignment of the new template button (#26934)
Browse files Browse the repository at this point in the history
* Fix alignment of the new template button

* fix lint offences

Co-authored-by: ntsekouras <ntsekouras@outlook.com>
  • Loading branch information
jameskoster and ntsekouras authored Nov 13, 2020
1 parent 1d21b92 commit 9db42e0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,12 @@ export const MenuTitleHeadingUI = styled( Text )`
margin-bottom: ${ space( 1 ) };
padding: ${ ( props ) =>
props.isRTL
? `${ space( 0.5 ) } ${ space( 2 ) } ${ space( 0.5 ) } 0`
: `${ space( 0.5 ) } 0 ${ space( 0.5 ) } ${ space( 2 ) }` };
? `${ space( 0.5 ) } ${ space( 2 ) } ${ space( 0.5 ) } ${ space(
1.5
) }`
: `${ space( 0.5 ) } ${ space( 1.5 ) } ${ space( 0.5 ) } ${ space(
2
) }` };
`;

export const MenuTitleActionsUI = styled.span`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,12 @@
font-size: 12px;
line-height: 16px;
}

.edit-site-navigation-panel__new-template-dropdown {
display: flex;
margin: 0 0 0 $grid-unit-15;

button {
margin: 0;
}
}

0 comments on commit 9db42e0

Please sign in to comment.