We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My following code is:
import type { CustomFlowbiteTheme } from 'flowbite-react'; import { Flowbite, Sidebar } from 'flowbite-react'; const customTheme: CustomFlowbiteTheme = { sidebar: { root: { base: 'w-full h-64', inner: 'bg-white', }, }, }; export default function Side() { return ( <Flowbite theme={{ theme: customTheme }}> <Sidebar className="h-full"> <Sidebar.Items> <Sidebar.ItemGroup> <Sidebar.Item href="#">Kanban</Sidebar.Item> <Sidebar.Item href="#">Inbox</Sidebar.Item> <Sidebar.Item href="#">Users</Sidebar.Item> </Sidebar.ItemGroup> </Sidebar.Items> </Sidebar> </Flowbite> ); }
The current width is still w-64
w-64
The width should be reset to w-full;
w-full
"flowbite": "^2.3.0", "flowbite-react": "^0.9.0",
The text was updated successfully, but these errors were encountered:
Updated: the style can be changed through className, but couldn't be changed by the above method.
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce
My following code is:
Current behavior
The current width is still
w-64
Expected behavior
The width should be reset to
w-full
;Context
"flowbite": "^2.3.0",
"flowbite-react": "^0.9.0",
The text was updated successfully, but these errors were encountered: