feat: notify user of aup when creating server (#495)

This commit is contained in:
Ed L
2022-04-05 23:38:59 +01:00
committed by GitHub
parent 5d4ef8b178
commit 3f9e6fc2e2
2 changed files with 20 additions and 0 deletions

View File

@@ -104,6 +104,11 @@ const ModalContent = styled.div<
}
}
.description {
color: var(--tertiary-foreground);
font-size: 90%;
}
${(props) =>
!props.noBackground &&
css`
@@ -174,6 +179,7 @@ export default function Modal(props: Props) {
border={props.border}
padding={props.padding ?? !props.dontModal}>
{props.title && <h3>{props.title}</h3>}
{props.description && <h5>{props.description}</h5>}
{props.children}
</ModalContent>