mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
💄 调整布局,统一比例 2/1
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user