Skip to content

Conversation

@Dunsin-cyber
Copy link
Contributor

@Dunsin-cyber Dunsin-cyber commented Oct 10, 2025

fixes #1816 and fixes #1817

header on small scrren

also noticed irresponsiveness of the modal on small screens.

before

zapplanner modal before

after

zapplanner modal after

<Badge
variant="positive"
className="flex items-center gap-1"
className="hidden md:flex items-center gap-1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like so much that we have to duplicate the badge. It was solved in another way here if you would like to have a look: https://github.com/getAlby/hub/blob/master/frontend/src/screens/apps/AppDetails.tsx#L194

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright. done
unify connection dbage

/>
</DialogTrigger>
<DialogContent className="sm:max-w-[600px]">
<DialogContent className="sm:max-w-[600px] max-h-[85vh] overflow-y-auto">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if these should be actually be set everywhere we use dialog content. Since it's a shadcn component it's best we don't edit it directly, but we could add a ResponsiveDialogContent class that renders DialogContent, and put that one in our custom components. What do you think? CC @reneaaron

@rolznz rolznz marked this pull request as draft October 14, 2025 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ZapPlanner: Recurring Payments should be placed above suggestions "New Recurring Payment" button should wrap on small screens

2 participants