Skip to content

Commit 8ce6828

Browse files
hawkgsthePunderWoman
authored andcommitted
docs(docs-infra): fix algolia icon in the search dialog on safari (angular#60702)
The icon used to have zero height due to its display property. PR Close angular#60702
1 parent 006ac7f commit 8ce6828

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

adev/shared-docs/components/search-dialog/search-dialog.component.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ dialog {
5151
padding-inline-end: 1rem;
5252
padding-block: 0.25rem;
5353

54-
/**
54+
/**
5555
* This rule needs ng-deep to be applied to elements that are created via a [innerHTML] binding
56-
*/
56+
*/
5757
::ng-deep {
5858
mark {
5959
background: #e62600;
@@ -155,8 +155,8 @@ dialog {
155155
border-radius: 0 0 0.25rem 0.25rem;
156156

157157
docs-algolia-icon {
158-
display: inline-flex;
159-
margin-block-start: 0.12rem;
158+
display: block;
159+
margin-block-start: 5px;
160160
margin-inline-start: 0.15rem;
161161
width: 4rem;
162162
}

0 commit comments

Comments
 (0)