diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eea55a5c..02c0ab3a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,7 +30,7 @@ importers: specifier: ^2.3.1 version: 2.3.1 '@tauri-apps/plugin-opener': - specifier: ~2.2.6 + specifier: ^2.2.6 version: 2.2.6 '@tauri-apps/plugin-os': specifier: ^2.2.1 diff --git a/src/components/app/t-itemBox.vue b/src/components/app/t-itemBox.vue index dc75afb6..c3413bc7 100644 --- a/src/components/app/t-itemBox.vue +++ b/src/components/app/t-itemBox.vue @@ -68,8 +68,8 @@ const props = defineProps(); left: 0; overflow: hidden; width: v-bind("props.modelValue.size"); - border-radius: 5px; - aspect-ratio: 1; + height: v-bind("props.modelValue.height"); + border-radius: 4px; } .tib-bg img { @@ -82,8 +82,8 @@ const props = defineProps(); position: relative; overflow: hidden; width: v-bind("props.modelValue.size"); - border-radius: 5px; - aspect-ratio: 1; + height: v-bind("props.modelValue.height"); + border-radius: 4px; } .tib-icon img { @@ -98,11 +98,11 @@ const props = defineProps(); left: 0; display: flex; width: v-bind("props.modelValue.size"); + height: v-bind("props.modelValue.height"); flex-direction: column; align-items: center; justify-content: center; - border-radius: 5px; - aspect-ratio: 1; + border-radius: 4px; } .tib-lt { @@ -111,9 +111,9 @@ const props = defineProps(); left: 3%; display: flex; width: v-bind("props.modelValue.ltSize"); + height: v-bind("props.modelValue.ltSize"); align-items: center; justify-content: center; - aspect-ratio: 1; } .tib-lt img { @@ -128,12 +128,12 @@ const props = defineProps(); right: 0; display: flex; width: v-bind("props.modelValue.rtSize"); + height: v-bind("props.modelValue.rtSize"); align-items: center; justify-content: center; - aspect-ratio: 1; background: rgb(0 0 0 / 40%); - border-bottom-left-radius: 5px; - border-top-right-radius: 5px; + border-bottom-left-radius: 4px; + border-top-right-radius: 4px; color: var(--tgc-white-1); font-family: var(--font-title); } @@ -150,8 +150,8 @@ const props = defineProps(); -webkit-backdrop-filter: blur(v-bind("props.modelValue.innerBlur ?? 0")); backdrop-filter: blur(v-bind("props.modelValue.innerBlur ?? 0")); background: rgb(20 20 20 / 40%); - border-bottom-left-radius: 5px; - border-bottom-right-radius: 5px; + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; color: var(--tgc-white-1); font-family: var(--font-title); font-size: v-bind("((props.modelValue.innerHeight ?? 0) / 2).toString() + 'px'"); @@ -159,8 +159,8 @@ const props = defineProps(); .tib-inner img { width: v-bind("(props.modelValue.innerHeight ?? 0).toString() + 'px'"); + height: v-bind("(props.modelValue.innerHeight ?? 0).toString() + 'px'"); padding: 1px; - aspect-ratio: 1; } .tib-inner span { diff --git a/src/components/app/to-nameCard.vue b/src/components/app/to-nameCard.vue index 942cef80..c9df562d 100644 --- a/src/components/app/to-nameCard.vue +++ b/src/components/app/to-nameCard.vue @@ -138,23 +138,23 @@ async function shareNameCard(): Promise { overflow: hidden; width: 800px; height: 400px; - border-radius: 10px; + border-radius: 4px; } .ton-bg { position: absolute; width: 100%; height: 100%; - border-radius: 10px; + border-radius: 4px; } .ton-type { position: absolute; top: 10px; left: 10px; - padding: 0 5px; + padding: 0 4px; border: 1px solid var(--tgc-white-1); - border-radius: 5px; + border-radius: 4px; color: var(--tgc-white-1); } @@ -169,8 +169,8 @@ async function shareNameCard(): Promise { flex-direction: column; align-items: flex-start; justify-content: flex-end; - padding: 10px; - border-radius: 10px; + padding: 8px; + border-radius: 4px; backdrop-filter: blur(5px); background: rgb(0 0 0 / 25%); color: var(--tgc-white-1); @@ -202,7 +202,7 @@ async function shareNameCard(): Promise { right: 10px; bottom: 10px; border: 1px solid var(--tgc-white-1); - border-radius: 5px; + border-radius: 4px; color: var(--tgc-white-1); } diff --git a/src/components/userAchi/tua-achi-overlay.vue b/src/components/userAchi/tua-achi-overlay.vue index 52a3355e..bc4e4d85 100644 --- a/src/components/userAchi/tua-achi-overlay.vue +++ b/src/components/userAchi/tua-achi-overlay.vue @@ -1,5 +1,5 @@