fix: buttons

This commit is contained in:
Benno Tielen 2025-03-11 13:27:15 +01:00
parent 76a6df83f3
commit ecace1e5d0
2 changed files with 18 additions and 4 deletions

View file

@ -8,7 +8,7 @@ type CalendarAnnouncementButtonsProps = {
export const CalendarAnnouncementButtons = ({calendar, announcements}: CalendarAnnouncementButtonsProps) => {
return (
<>
<div className={styles.container}>
{ calendar &&
<Button
size={"md"}
@ -29,6 +29,6 @@ export const CalendarAnnouncementButtons = ({calendar, announcements}: CalendarA
>Vermeldungen</Button>
</span>
}
</>
</div>
)
}

View file

@ -1,3 +1,17 @@
.margin {
margin-left: 5px;
.container {
display: flex;
gap: 5px;
flex-wrap: wrap;
justify-content: flex-end;
}
.container a {
flex-shrink: 0;
width: inherit;
}
@media screen and (max-width: 576px) {
.container {
justify-content: flex-start;
}
}