Skip to content

Commit

Permalink
Fix linter issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joen Asmussen committed Aug 9, 2018
1 parent 1fac3d4 commit 3dddebe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions packages/components/src/popover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -147,33 +147,33 @@ $arrow-size: 8px;
border-top: 0;
}

.components-popover:not( .is-mobile ) & {
.components-popover:not(.is-mobile) & {
position: absolute;
height: auto;
overflow-y: auto;

// Let the menu scale to fit items.
// Let the menu scale to fit items.
width: auto;
min-width: 260px;
max-width: $break-mobile;
}

.components-popover:not( .is-mobile ).is-top & {
.components-popover:not(.is-mobile).is-top & {
bottom: 100%;
}

.components-popover:not( .is-mobile ).is-center & {
.components-popover:not(.is-mobile).is-center & {
left: 50%;
transform: translateX(-50%);
}

.components-popover:not( .is-mobile ).is-right & {
.components-popover:not(.is-mobile).is-right & {
position: absolute;
/*!rtl:ignore*/
left: 100%;
}

.components-popover:not( .is-mobile ):not( .is-middle ).is-right & {
.components-popover:not(.is-mobile):not(.is-middle).is-right & {
/*!rtl:ignore*/
margin-left: -24px;
}
Expand All @@ -184,7 +184,7 @@ $arrow-size: 8px;
right: 100%;
}

.components-popover:not( .is-mobile ):not( .is-middle ).is-left & {
.components-popover:not(.is-mobile):not(.is-middle).is-left & {
/*!rtl:ignore*/
margin-right: -24px;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/components/block-switcher/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
}

.components-popover:not( .is-mobile ).editor-block-switcher__popover .components-popover__content {
.components-popover:not(.is-mobile).editor-block-switcher__popover .components-popover__content {
min-width: 320px;
}

Expand Down

0 comments on commit 3dddebe

Please sign in to comment.