Skip to content

Commit a476219

Browse files
committed
style: update icon rotation and transition for better UX
1 parent 8bb5be7 commit a476219

2 files changed

Lines changed: 3 additions & 13 deletions

File tree

spring-boot-admin-server-ui/src/main/frontend/index.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,6 @@ th {
7777
@apply border-b border-gray-200;
7878
}
7979

80-
.-rotate-90 {
81-
--tw-rotate: -90deg;
82-
transform: rotate(var(--tw-rotate));
83-
}
84-
85-
.rotate-90 {
86-
--tw-rotate: 90deg;
87-
transform: rotate(var(--tw-rotate));
88-
}
89-
9080
table.table-wide td {
9181
@apply px-2 py-1.5;
9282
}

spring-boot-admin-server-ui/src/main/frontend/views/applications/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@
112112
<template #title>
113113
<div class="items-center inline-flex flex-row min-w-116">
114114
<font-awesome-icon
115-
icon="chevron-down"
115+
icon="chevron-right"
116+
class="mr-2 transition-transform duration-200"
116117
:class="{
117-
'-rotate-90': !isExpanded(group.name),
118-
'mr-2 transition-[transform]': true,
118+
'rotate-90': isExpanded(group.name),
119119
}"
120120
/>
121121
<sba-status-badge

0 commit comments

Comments
 (0)