mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-26 07:22:10 -05:00
fix(modals): fixed design of modals
This commit is contained in:
parent
18f7f91ff0
commit
c53f74abbf
1 changed files with 11 additions and 3 deletions
|
@ -78,12 +78,21 @@ const ModalContent = styled.div<
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
|
font-size: 14px;
|
||||||
|
text-transform: uppercase;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
form {
|
form {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
gap: 8px;
|
||||||
|
|
||||||
|
> div {
|
||||||
|
margin: 0;
|
||||||
|
color: var(--secondary-foreground);
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
${(props) =>
|
${(props) =>
|
||||||
|
@ -95,7 +104,7 @@ const ModalContent = styled.div<
|
||||||
${(props) =>
|
${(props) =>
|
||||||
props.padding &&
|
props.padding &&
|
||||||
css`
|
css`
|
||||||
padding: 1.5em;
|
padding: 1rem;
|
||||||
`}
|
`}
|
||||||
|
|
||||||
${(props) =>
|
${(props) =>
|
||||||
|
@ -116,8 +125,7 @@ const ModalActions = styled.div`
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
|
padding: 1rem;
|
||||||
padding: 1em 1.5em;
|
|
||||||
background: var(--secondary-background);
|
background: var(--secondary-background);
|
||||||
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Reference in a new issue