File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
src/components/dialog/content/manager Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 29
29
<!-- Conflict Warning Banner -->
30
30
<div
31
31
v-if =" shouldShowManagerBanner"
32
- class =" bg-yellow-600 bg-opacity-20 border border-yellow-400 rounded-lg p-4 mt-3 mb-4 flex items-center gap-6 relative"
32
+ class =" bg-yellow-500/20 rounded-lg p-4 mt-3 mb-4 flex items-center gap-6 relative"
33
33
>
34
34
<i class =" pi pi-exclamation-triangle text-yellow-600 text-lg" ></i >
35
35
<div class =" flex flex-col gap-2 flex-1" >
46
46
{{ $t('manager.conflicts.warningBanner.button') }}
47
47
</p >
48
48
</div >
49
- <button
50
- type =" button"
51
- class =" absolute top-2 right-2 w-6 h-6 border-none outline-none bg-transparent flex items-center justify-center text-yellow-600 rounded transition-colors"
52
- :aria-label =" $t('g.close')"
49
+ <IconButton
50
+ class =" absolute top-0 right-0"
51
+ type =" transparent"
53
52
@click =" dismissWarningBanner"
54
53
>
55
- <i class =" pi pi-times text-sm" ></i >
56
- </button >
54
+ <i
55
+ class =" pi pi-times text-neutral-900 dark-theme:text-white text-xs"
56
+ ></i >
57
+ </IconButton >
57
58
</div >
58
59
<RegistrySearchBar
59
60
v-model:searchQuery =" searchQuery"
@@ -138,6 +139,7 @@ import {
138
139
} from ' vue'
139
140
import { useI18n } from ' vue-i18n'
140
141
142
+ import IconButton from ' @/components/button/IconButton.vue'
141
143
import ContentDivider from ' @/components/common/ContentDivider.vue'
142
144
import NoResultsPlaceholder from ' @/components/common/NoResultsPlaceholder.vue'
143
145
import VirtualGrid from ' @/components/common/VirtualGrid.vue'
You can’t perform that action at this time.
0 commit comments