Skip to content

Commit

Permalink
Revert all changes but the restored border.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Feb 9, 2024
1 parent f0cec08 commit 416da3c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ If passed, children are rendered after the input.
label={ __( 'Submit' ) }
icon={ keyboardReturn }
className="block-editor-link-control__search-submit"
size="compact"
/>
</HStack>
</LinkControlSearchInput>
Expand Down
1 change: 0 additions & 1 deletion packages/block-editor/src/components/link-control/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ function LinkControl( {
icon={ keyboardReturn }
className="block-editor-link-control__search-submit"
aria-disabled={ isDisabled }
size="compact"
/>
</div>
) }
Expand Down
6 changes: 3 additions & 3 deletions packages/block-editor/src/components/link-control/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $block-editor-link-control-number-of-actions: 1;
border-radius: $radius-block-ui;
height: $button-size-next-default-40px; // components do not properly support unstable-large yet.
margin: 0;
padding: $grid-unit-10 $button-size-next-default-40px $grid-unit-10 $grid-unit-15;
padding: $grid-unit-10 $button-size-next-default-40px $grid-unit-10 $grid-unit-20;
position: relative;
width: 100%;

Expand All @@ -82,8 +82,8 @@ $block-editor-link-control-number-of-actions: 1;

.block-editor-link-control__search-enter {
position: absolute;
right: 21px; // specific to place the button properly.
top: 5px;
right: 19px; // specific to place the button properly.
top: 3px;

svg {
position: relative;
Expand Down
8 changes: 4 additions & 4 deletions packages/block-editor/src/components/url-input/style.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Link input
$input-padding: $grid-unit $grid-unit $grid-unit $grid-unit-15;
$input-size: 300px;

.block-editor-block-list__block .block-editor-url-input,
Expand All @@ -13,10 +14,9 @@ $input-size: 300px;
@include break-small() {
width: $input-size;
}
padding: $grid-unit-10;
padding-left: $grid-unit-15;
margin: 0;
height: $button-size-next-default-40px; // components do not properly support unstable-large yet.
padding: $input-padding;
margin-left: 0;
margin-right: 0;

/* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: $mobile-text-min-font-size;
Expand Down
5 changes: 2 additions & 3 deletions packages/block-editor/src/components/url-popover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
}

.block-editor-url-popover__input-container {
padding: $grid-unit-20;
padding-right: $grid-unit-10;
padding: $grid-unit-10;
}

.block-editor-url-popover__row {
display: flex;
align-items: center;
gap: $grid-unit-05;
}

Expand Down Expand Up @@ -43,6 +41,7 @@
.block-editor-url-popover__settings {
display: block;
padding: $grid-unit-20;
border-top: $border-width solid $gray-900;
}

.block-editor-url-popover__link-editor,
Expand Down
1 change: 0 additions & 1 deletion packages/format-library/src/link/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.block-editor-format-toolbar__link-container-content {
display: flex;
align-items: center;
}

.block-editor-format-toolbar__link-container-value {
Expand Down

0 comments on commit 416da3c

Please sign in to comment.