Skip to content

Commit

Permalink
Fix legacy widget edit style bleed
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Jun 23, 2021
1 parent c66ef19 commit 0cb2157
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions packages/widgets/src/blocks/legacy-widget/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,34 @@
label + .widefat {
margin-top: $grid-unit-15;
}

// Override theme style bleed.
label,
input,
a {
color: $black;
}
select {
font-family: system-ui;
-webkit-appearance: revert;
color: revert;
border: revert;
border-radius: revert;
background: revert;
box-shadow: revert;
text-shadow: revert;
outline: revert;
cursor: revert;
transform: revert;
font-size: revert;
line-height: revert;
padding: revert;
margin: revert;
min-height: revert;
max-width: revert;
vertical-align: revert;
font-weight: revert;
}
}

// Reset z-index set on https://github.com/WordPress/wordpress-develop/commit/f26d4d37351a55fd1fc5dad0f5fef8f0f964908c.
Expand Down

0 comments on commit 0cb2157

Please sign in to comment.