Adjusted padding for mobile view in FooterCard and refined button margin in LoginConfigTotp for improved layout consistency.
This commit is contained in:
parent
b48bdd8f55
commit
9dccf4f107
@ -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"
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user