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) => {
|
||||
return (
|
||||
<>
|
||||
<div className={styles.container}>
|
||||
{ calendar &&
|
||||
<Button
|
||||
size={"md"}
|
||||
|
|
@ -29,6 +29,6 @@ export const CalendarAnnouncementButtons = ({calendar, announcements}: CalendarA
|
|||
>Vermeldungen</Button>
|
||||
</span>
|
||||
}
|
||||
</>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue