mirror of
https://github.com/Moe-Sakura/frontend.git
synced 2026-03-15 04:53:18 +08:00
style: 优化平台卡片错误信息显示
* 调整了平台卡片中错误信息的样式。 * 为错误提示文本添加了更小的字号(text-sm)。 * 为错误图标增加了右侧间距(mr-2),改善布局。 * 移除了错误信息容器的flex布局样式。
This commit is contained in:
@@ -1307,7 +1307,7 @@ function createPlatformCard(result, withAnimation = true) {
|
||||
</div>
|
||||
${
|
||||
result.error
|
||||
? `<div class="px-5 py-3 text-red-500 font-semibold flex items-center gap-2"><i class='fas fa-exclamation-circle'></i> ${result.error}</div>`
|
||||
? `<div class="px-5 py-3 text-red-500 font-semibold text-sm"><i class='fas fa-exclamation-circle mr-2'></i> ${result.error}</div>`
|
||||
: ""
|
||||
}
|
||||
${itemsHtml}
|
||||
|
||||
Reference in New Issue
Block a user