Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/smooth-points-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"flowbite-react": patch
---

Improve RTL support in the modal component
4 changes: 2 additions & 2 deletions packages/ui/src/components/Modal/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ export const modalTheme = createTheme<ModalTheme>({
popup: "border-b-0 p-2",
title: "text-xl font-medium text-gray-900 dark:text-white",
close: {
base: "ml-auto inline-flex items-center rounded-lg bg-transparent p-1.5 text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white",
base: "ms-auto inline-flex items-center rounded-lg bg-transparent p-1.5 text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white",
icon: "h-5 w-5",
},
},
footer: {
base: "flex items-center space-x-2 rounded-b border-gray-200 p-6 dark:border-gray-600",
base: "flex items-center gap-2 rounded-b border-gray-200 p-6 dark:border-gray-600",
popup: "border-t",
},
});
Loading