fix: buttons
This commit is contained in:
parent
76a6df83f3
commit
ecace1e5d0
2 changed files with 18 additions and 4 deletions
|
|
@ -8,7 +8,7 @@ type CalendarAnnouncementButtonsProps = {
|
||||||
|
|
||||||
export const CalendarAnnouncementButtons = ({calendar, announcements}: CalendarAnnouncementButtonsProps) => {
|
export const CalendarAnnouncementButtons = ({calendar, announcements}: CalendarAnnouncementButtonsProps) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<div className={styles.container}>
|
||||||
{ calendar &&
|
{ calendar &&
|
||||||
<Button
|
<Button
|
||||||
size={"md"}
|
size={"md"}
|
||||||
|
|
@ -29,6 +29,6 @@ export const CalendarAnnouncementButtons = ({calendar, announcements}: CalendarA
|
||||||
>Vermeldungen</Button>
|
>Vermeldungen</Button>
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
</>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
@ -1,3 +1,17 @@
|
||||||
.margin {
|
.container {
|
||||||
margin-left: 5px;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue