Skip to content

Commit 7be4522

Browse files
authored
feat: simplified datetime widget icons (#1269)
1 parent 91187b1 commit 7be4522

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
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: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ table tr.selected th {
161161
}
162162

163163
.datetimeshortcuts a {
164-
@apply text-[0px] text-base-400 transition hover:text-base-700;
164+
@apply flex items-center h-9 text-[0px] text-base-400 transition hover:text-base-700;
165165
}
166166

167167
.datetimeshortcuts a:first-child {
168-
@apply hover:text-base-700 dark:text-base-500 dark:hover:text-base-200;
168+
@apply hidden;
169169
}
170170

171171
.datetimeshortcuts a:first-child:after {
@@ -179,7 +179,15 @@ table tr.selected th {
179179
.clock-icon,
180180
.date-icon {
181181
@apply block text-base-400 transition-all hover:text-base-700 dark:text-base-500 dark:hover:text-base-200;
182-
@apply after:border-r after:border-base-200 after:content-['today'] after:material-symbols-outlined after:px-3 dark:after:border-base-700;
182+
@apply after:border-base-200 after:material-symbols-outlined after:px-3 dark:after:border-base-700;
183+
}
184+
185+
.date-icon:after {
186+
content: "calendar_today";
187+
}
188+
189+
.clock-icon:after {
190+
content: "schedule";
183191
}
184192

185193
.timezonewarning {

0 commit comments

Comments
 (0)