首頁系統小卡對齊問題修正

This commit is contained in:
koko 2025-06-17 10:26:42 +08:00
parent 5d02cffcf4
commit 3e96223bd9

View File

@ -19,13 +19,13 @@ const navigateToSubSystem = (mainSystemId, subSystemId) => {
</script> </script>
<template> <template>
<div class="flex flex-wrap -mx-1 h-[21rem] overflow-y-scroll"> <div class="flex flex-wrap -mx-1 h-[21rem] overflow-y-auto items-start content-start">
<div <div
v-for="(item, index) in store.subSys" v-for="(item, index) in store.subSys"
:key="index" :key="index"
:class=" :class="
twMerge( twMerge(
'w-full sm:w-1/2 relative my-2 ', 'w-full sm:w-1/2 relative my-2',
item.sub_system_tag item.sub_system_tag
? 'saturate-200 cursor-pointer text-base text-info' ? 'saturate-200 cursor-pointer text-base text-info'
: 'grayscale opacity-70 cursor-not-allowed text-sm' : 'grayscale opacity-70 cursor-not-allowed text-sm'