💄 调整布局,统一比例 2/1

This commit is contained in:
BTMuli
2026-02-01 18:56:25 +08:00
parent e8616332d4
commit 7fa17b3b3b
2 changed files with 5 additions and 3 deletions

View File

@@ -60,9 +60,9 @@ function getEffectDesc(desc: string): string {
display: flex;
width: fit-content;
box-sizing: border-box;
flex: 2;
flex-direction: column;
flex-shrink: 0;
align-items: center;
align-items: flex-start;
justify-content: flex-start;
padding: 8px;
border: 1px solid var(--common-shadow-1);
@@ -156,6 +156,6 @@ function getEffectDesc(desc: string): string {
position: relative;
display: block;
font-size: 10px;
white-space: pre;
white-space: pre-wrap;
}
</style>

View File

@@ -31,6 +31,7 @@ const props = defineProps<TucCardBoxProps>();
display: flex;
width: 100%;
box-sizing: border-box;
flex: 1;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
@@ -95,5 +96,6 @@ const props = defineProps<TucCardBoxProps>();
position: relative;
flex-shrink: 0;
font-size: 12px;
word-break: break-all;
}
</style>