We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1d2e6c commit dbdec4bCopy full SHA for dbdec4b
frontend/src/AppContent.vue
@@ -74,14 +74,23 @@ watch(
74
}
75
},
76
)
77
+
78
+const borderRadius = computed(() => {
79
+ if (isMacOS()) {
80
+ return WindowIsFullscreen().then((full) => {
81
+ return full ? '0' : '10px'
82
+ })
83
+ }
84
+ return '10px'
85
+})
86
</script>
87
88
<template>
89
<!-- app content-->
90
<n-spin
91
:show="props.loading"
92
:theme-overrides="{ opacitySpinning: 0 }"
- :style="{ backgroundColor: themeVars.bodyColor, borderRadius: WindowIsFullscreen() ? '0' : '10px' }">
93
+ :style="{ backgroundColor: themeVars.bodyColor, borderRadius }">
94
<div
95
id="app-content-wrapper"
96
class="flex-box-v"
0 commit comments