Skip to content

Commit a77e855

Browse files
committed
Fixed: Fix the issue of the close icon displaying rounded corners in Windows.
1 parent bd39032 commit a77e855

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

ui/layouts/default.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ const { initialTheme, listenOSThemeChange } = useThemeAdapter();
33
const { isWindows } = usePlatform();
44
55
const cardUi = computed(() => {
6-
const base = ["rounded-none", "overflow-visible"];
7-
86
if (isWindows.value) {
97
base.push("border-0", "ring-0", "shadow-none", "bg-transparent");
108
}
@@ -13,7 +11,7 @@ const cardUi = computed(() => {
1311
header: "p-0 sm:px-0",
1412
body: "p-0 sm:p-0",
1513
footer: "p-0 sm:p-0",
16-
base: base.join(" ")
14+
root: "rounded-none overflow-visible"
1715
};
1816
});
1917

0 commit comments

Comments
 (0)