dev
This commit is contained in:
@@ -103,7 +103,7 @@ export default defineComponent({
|
||||
<div class="h-auto max-h-250px">
|
||||
<div class="h-full overflow-y-auto bg-#161816 p-2px">
|
||||
{desc.value?.map((item) =>
|
||||
item.startsWith('[') ? (
|
||||
item.startsWith('[') || item.startsWith('-') || item.startsWith('<') ? (
|
||||
<div class="min-h-10px">{item}</div>
|
||||
) : (
|
||||
<div class="min-h-10px" style="text-indent:20px;">
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
height: 18px;
|
||||
height: 20px;
|
||||
z-index: 5;
|
||||
transform-style: preserve-3d;
|
||||
color: #c1a238;
|
||||
@@ -41,7 +41,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
height: 18px;
|
||||
height: 20px;
|
||||
z-index: 5;
|
||||
transform-style: preserve-3d;
|
||||
color: #9443BE;
|
||||
@@ -70,7 +70,7 @@
|
||||
border: 1px solid #3e4040;
|
||||
color: #c1a238;
|
||||
background: linear-gradient(180deg, #2b292b 0%, #0b0b0b 100%);
|
||||
height: 18px;
|
||||
height: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0px 5px;
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
<script lang="ts" name="index" setup>
|
||||
const zoom = computed(() => {
|
||||
const DPI = /macintosh|mac os x/i.test(navigator.userAgent.toLowerCase()) ? 1 : window.devicePixelRatio || 1;
|
||||
return /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent || navigator.vendor || (window as any).opera) ? 1 :(window.screen.width / 1800 / 0.85 / DPI).toFixed(2)
|
||||
const DPI = Math.max(0.85,Math.min(/macintosh|mac os x/i.test(navigator.userAgent.toLowerCase()) ? 1 : window.devicePixelRatio || 1,2)) * 0.85
|
||||
return /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent || navigator.vendor || (window as any).opera) ? 1 :(window.screen.width / 1800 / DPI).toFixed(2)
|
||||
})
|
||||
import { useDialog } from '@/components/hooks/dialog'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user