fix(nsfw): 统一动作栏包装器宽度(160px)以垂直对齐删除按钮

This commit is contained in:
XianYuDaXian committed 2026-03-14 09:16:08 +08:00
1 parent a204d0c04a
commit 498bad1cc3
2 files changed
+21 -1

No files matched your search

+20
View File
@@ -1231,3 +1231,23 @@ html[data-theme='dark'] .nsfw-settings-sheet {
color: #e2e8f0 !important;
}
}
/* ============================
nsfw Sticky Bar:让两行操作区等宽,垃圾桶对齐
============================ */
@media (max-width: 900px) {
/* 固定两个操作区等宽 */
.nsfw-image-actions,
.nsfw-video-actions {
width: 160px !important;
flex-shrink: 0 !important;
}
/* 两个主按钮 min-width 统一,内容撑开至相同宽度 */
.nsfw-main-btn,
#imGenerateBtn,
#imStartVideoBtn {
min-width: 108px !important;
flex: 1 !important;
}
}
+1 -1
View File
@@ -19,7 +19,7 @@
<script src="/static/common/js/theme.js?v=0.1.0"></script>
<link href="/static/common/css/common.css?v=0.3.7" rel="stylesheet">
<link href="/static/common/css/toast.css" rel="stylesheet">
<link href="/static/public/css/nsfw.css?v=0.4.1" rel="stylesheet">
<link href="/static/public/css/nsfw.css?v=0.4.2" rel="stylesheet">
</head>
<body class="public-page min-h-screen flex flex-col" style="background-color: var(--bg);">