Skip to content

Commit

Permalink
Use wordpress popover original border and overflow controllers with n…
Browse files Browse the repository at this point in the history
…egative margin
  • Loading branch information
Sbisson committed Jun 4, 2024
1 parent dee4636 commit fee3fae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/link/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -333,11 +333,8 @@ body {
.wikipediapreview-edit-preview-popover {

.components-popover__content {
background: unset;
border: unset;
outline: 0;
box-shadow: none;
overflow: unset !important;
border-radius: 8px 8px 0 0;
}

@media (prefers-color-scheme: dark ) {
Expand All @@ -362,6 +359,7 @@ body {

&-controllers {
width: 73px;
margin-right: -73px;
height: 194px;
background-color: #000;
display: flex;
Expand Down Expand Up @@ -419,7 +417,6 @@ body {

.wikipediapreview {
box-shadow: none;
border: solid #ccc 1px;

&-gallery {
display: none;
Expand Down Expand Up @@ -518,6 +515,9 @@ body {
right: unset;
left: 70px;

margin-right: 0;
margin-left: -73px;

&-change::before,
&-remove::before {
right: unset;
Expand Down

0 comments on commit fee3fae

Please sign in to comment.