Skip to content

Commit fc7ba24

Browse files
Merge pull request #22322 from Yoast/fix-search-appearance-icon-rtl
Fix gap between icon and title on search appearance on RTL
2 parents d183ebb + 6afc216 commit fc7ba24

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/search-metadata-previews/src/snippet-preview/SnippetPreview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ const BaseUrlOverflowContainer = styled( BaseUrl )`
180180
padding-top: 1px;
181181
line-height: 20px;
182182
vertical-align: bottom;
183+
column-gap: 12px;
183184
`;
184185
BaseUrlOverflowContainer.displayName = "BaseUrlOverflowContainer";
185186

@@ -197,7 +198,6 @@ const UrlBaseContainer = styled.span`
197198
const FaviconContainer = styled.div`
198199
width: 28px;
199200
height: 28px;
200-
margin-right: 12px;
201201
border-radius: 50px;
202202
display: flex;
203203
align-items: center;

packages/search-metadata-previews/tests/__snapshots__/SnippetEditorTest.js.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ exports[`SnippetEditor Desktop mode and should switch to mobile 1`] = `
165165
padding-top: 1px;
166166
line-height: 20px;
167167
vertical-align: bottom;
168+
-webkit-column-gap: 12px;
169+
column-gap: 12px;
168170
}
169171
170172
.c12 {
@@ -184,7 +186,6 @@ exports[`SnippetEditor Desktop mode and should switch to mobile 1`] = `
184186
.c10 {
185187
width: 28px;
186188
height: 28px;
187-
margin-right: 12px;
188189
border-radius: 50px;
189190
display: -webkit-box;
190191
display: -webkit-flex;
@@ -627,6 +628,8 @@ exports[`SnippetEditor Mobile mode 1`] = `
627628
padding-top: 1px;
628629
line-height: 20px;
629630
vertical-align: bottom;
631+
-webkit-column-gap: 12px;
632+
column-gap: 12px;
630633
}
631634
632635
.c11 {
@@ -646,7 +649,6 @@ exports[`SnippetEditor Mobile mode 1`] = `
646649
.c9 {
647650
width: 28px;
648651
height: 28px;
649-
margin-right: 12px;
650652
border-radius: 50px;
651653
display: -webkit-box;
652654
display: -webkit-flex;

0 commit comments

Comments
 (0)