🔧 调整排序&格式化

This commit is contained in:
BTMuli
2025-12-19 22:46:19 +08:00
parent 9e019b7278
commit 7218b70da4
9 changed files with 16 additions and 13 deletions

View File

@@ -29,10 +29,11 @@ rules:
type: at-rule
- name: include
type: at-rule
- custom-properties
- at-rules
- declarations
- rules
- at-rules
- name: keyframes
type: at-rule
prettier/prettier: true
property-no-vendor-prefix:
- true

View File

@@ -19,11 +19,13 @@
/* CardShadow传入theme参数 */
@mixin github-card-shadow($theme: "default") {
@if $theme == "default" {
box-shadow: #1f23280f 0 1px 1px 0,
#1f23280f 0 1px 3px 0;
box-shadow:
#1f23280f 0 1px 1px 0,
#1f23280f 0 1px 3px 0;
} @else {
box-shadow: #01040999 0 1px 1px 0,
#01040999 0 1px 3px 0;
box-shadow:
#01040999 0 1px 1px 0,
#01040999 0 1px 3px 0;
}
}

View File

@@ -71,7 +71,7 @@ onMounted(async () => {
align-items: center;
justify-content: center;
padding: 10px;
grid-gap: 10px;
gap: 10px;
grid-template-columns: repeat(auto-fill, minmax(180px, 0.2fr));
}
</style>

View File

@@ -71,7 +71,7 @@ onMounted(async () => {
align-items: center;
justify-content: center;
padding: 10px;
grid-gap: 10px;
gap: 10px;
grid-template-columns: repeat(auto-fill, minmax(180px, 0.2fr));
}
</style>

View File

@@ -43,7 +43,7 @@ function getTitle(avatar: TGApp.Sqlite.Record.Avatar): string {
<style lang="css" scoped>
.tur-ag-box {
display: grid;
grid-gap: 8px;
gap: 8px;
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
}
</style>

View File

@@ -13,7 +13,7 @@ defineProps<{ modelValue: Array<TGApp.Sqlite.Record.Home> }>();
.tur-hg-box {
display: grid;
width: 100%;
grid-gap: 8px;
gap: 8px;
grid-template-columns: repeat(3, 1fr);
}
</style>

View File

@@ -13,7 +13,7 @@ defineProps<{ modelValue: Array<TGApp.Sqlite.Record.WorldExplore> }>();
.tur-wg-box {
display: grid;
width: 100%;
grid-gap: 8px;
gap: 8px;
grid-template-columns: repeat(3, 0.33fr);
}
</style>

View File

@@ -474,8 +474,8 @@ function handleUserClick(user: TGApp.BBS.Post.User, gid: number): void {
.pc-posts {
display: grid;
grid-auto-rows: auto;
gap: 8px;
grid-auto-rows: auto;
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}
</style>

View File

@@ -404,8 +404,8 @@ function handleUserClick(user: TGApp.BBS.Post.User, gid: number): void {
.posts-grid {
display: grid;
font-family: var(--font-title);
grid-auto-rows: auto;
gap: 8px;
grid-auto-rows: auto;
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}