Adjusted padding for mobile view in FooterCard and refined button margin in LoginConfigTotp for improved layout consistency.
Some checks failed
ci / Check if version upgrade (push) Has been cancelled
ci / create_github_release (push) Has been cancelled
ci / test (push) Has been cancelled

This commit is contained in:
Tom Butcher 2025-08-14 01:14:42 +01:00
parent b48bdd8f55
commit 9dccf4f107
2 changed files with 3 additions and 3 deletions

View File

@ -323,7 +323,7 @@ function FooterCard({ children, darkMode = false }: { children?: ReactNode; dark
background: isMobile ? "unset" : darkMode ? "#00000025" : "#fffffff2", background: isMobile ? "unset" : darkMode ? "#00000025" : "#fffffff2",
borderRadius: "20px", borderRadius: "20px",
zIndex: 1, zIndex: 1,
padding: isMobile ? "unset" : "10px 18px", padding: isMobile ? "4px 0px" : "10px 18px",
boxShadow: isMobile ? "unset" : darkMode ? "0px 5px 20px 5px rgb(255 255 255 / 5%)" : "0px 5px 15px 5px rgb(0 0 0 / 10%)" boxShadow: isMobile ? "unset" : darkMode ? "0px 5px 20px 5px rgb(255 255 255 / 5%)" : "0px 5px 15px 5px rgb(0 0 0 / 10%)"
}} }}
variant="borderless" variant="borderless"

View File

@ -257,11 +257,11 @@ export default function LoginConfigTotp(props: PageProps<Extract<KcContext, { pa
</Checkbox> </Checkbox>
</Form.Item> </Form.Item>
<Form.Item style={{ margin: 0 }}> <Form.Item style={{ margin: 0 }}>
<Flex gap={"middle"}> <Flex gap={"middle"} style={{ marginTop: "22px" }}>
<Button <Button
type="primary" type="primary"
htmlType="submit" htmlType="submit"
style={{ flexGrow: 2, marginTop: "22px" }} style={{ flexGrow: 2 }}
size="large" size="large"
id="saveTOTPBtn" id="saveTOTPBtn"
iconPosition="end" iconPosition="end"