Skip to content

Commit 5a10af1

Browse files
authored
fix: search input cancel button in Safari styling (#970)
1 parent 52f85ae commit 5a10af1

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/unfold/static/unfold/css/styles.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/unfold/styles.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@
6262
font-size: 18px;
6363
}
6464

65+
/*******************************************************
66+
Search
67+
*******************************************************/
68+
input[type="search"]::-webkit-search-cancel-button {
69+
@apply z-10 dark:invert;
70+
}
71+
6572
/*******************************************************
6673
Select
6774
*******************************************************/
@@ -202,6 +209,7 @@ table tr.selected th {
202209
.selector-filter {
203210
@apply flex;
204211
}
212+
205213
.selector-filter input {
206214
@apply bg-base-100 block flex-grow font-medium mb-3 mx-3 px-3 py-2 rounded text-base-500 text-sm focus:outline-none dark:bg-base-800 dark:text-base-300;
207215
}

0 commit comments

Comments
 (0)