Skip to content

Commit

Permalink
minor ui fixes for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Oct 17, 2024
1 parent 846c868 commit 5fde50f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/events/EventList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function ControlButtons({label, options, selectedOption, setOption}: ControlButt
return (
<>
<label>{label}</label>
<div className="flex flex-row space gap-3">
<div className="flex flex-row space gap-3 flex-wrap">
{Array.from(options).map((option, index) => (
<ControlButton value={option} selectedValue={selectedOption} setValue={() => setOption(option)} key={"control-buttons-" + index} />
))}
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/MarkdownLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ document.addEventListener("DOMContentLoaded", function () {


<Layout {...frontmatter}>
<div class="navbar sticky top-0 bg-base-300 z-20 min-h-[unset] lg:hidden" class:list={[{hidden: noInPageNavigation}]}>
<div class="navbar sticky top-12 bg-base-300 z-20 min-h-[unset] lg:hidden" class:list={[{hidden: noInPageNavigation}]}>
<div class="flex-1">
<!-- <a class="btn btn-ghost btn-sm">daisyUI</a> -->
</div>
Expand Down

0 comments on commit 5fde50f

Please sign in to comment.