Skip to content

Commit

Permalink
Block Editor: Fix spinner position in URLInput component (#43472)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka authored Aug 22, 2022
1 parent b9ef1a7 commit 03e35f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/url-input/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ $input-size: 300px;

.components-spinner {
position: absolute;
right: $input-padding;
bottom: $input-padding + $grid-unit-10 + 1;
margin: 0;
top: calc(50% - #{$spinner-size} / 2);
right: $grid-unit;
}
}

Expand Down
3 changes: 0 additions & 3 deletions packages/block-editor/src/components/url-popover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@
.block-editor-url-input .components-base-control__field {
margin-bottom: 0;
}
.block-editor-url-input .components-spinner {
bottom: $input-padding + 1;
}
}

.block-editor-url-popover__link-viewer-url {
Expand Down

0 comments on commit 03e35f0

Please sign in to comment.