mirror of
https://github.com/dataelement/bisheng.git
synced 2026-08-28 17:14:44 +08:00
fix(settings): align action footer divider
This commit is contained in:
@@ -160,7 +160,7 @@ export function SettingsFooter({
|
||||
}: SettingsFooterProps) {
|
||||
return (
|
||||
<footer
|
||||
className={`flex h-14 shrink-0 items-center gap-3 border-t border-border-base bg-transparent ${
|
||||
className={`flex h-16 shrink-0 items-center gap-3 border-t border-border-base bg-transparent ${
|
||||
centered ? "justify-center" : "justify-end"
|
||||
}`}
|
||||
>
|
||||
|
||||
+5
@@ -280,6 +280,11 @@ describe("ChannelSettingsPage", () => {
|
||||
expect(businessColumn.parentElement?.className).toContain(
|
||||
"max-[900px]:grid-cols-1",
|
||||
);
|
||||
expect(
|
||||
screen
|
||||
.getByText("com_unified_permission.confirm_create")
|
||||
.closest("footer")?.className,
|
||||
).toContain("h-16");
|
||||
expect(screen.getByTestId("authorization-list-body").className).toContain(
|
||||
"h-[400px]",
|
||||
);
|
||||
|
||||
+5
@@ -291,6 +291,11 @@ describe("KnowledgeSpaceSettingsPage", () => {
|
||||
const settingsSurface = settingsPage.firstElementChild;
|
||||
expect(settingsSurface?.className).toContain("w-full");
|
||||
expect(settingsSurface?.className).not.toContain("max-w-[1368px]");
|
||||
expect(
|
||||
screen
|
||||
.getByText("com_unified_permission.confirm_create")
|
||||
.closest("footer")?.className,
|
||||
).toContain("h-16");
|
||||
expect(
|
||||
screen.getByPlaceholderText(
|
||||
"com_subscription.enter_knowledge_space_name",
|
||||
|
||||
Reference in New Issue
Block a user