Skip to content

Commit c32b9aa

Browse files
committed
fix: hide unnecessary configs on mobile (#189)
1 parent 9d9ea00 commit c32b9aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/config-drawer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ function ThemeConfig() {
213213
function SidebarConfig() {
214214
const { defaultVariant, variant, setVariant } = useLayout()
215215
return (
216-
<div>
216+
<div className='max-md:hidden'>
217217
<SectionTitle
218218
title='Sidebar'
219219
showReset={defaultVariant !== variant}
@@ -260,7 +260,7 @@ function LayoutConfig() {
260260
const radioState = open ? 'default' : collapsible
261261

262262
return (
263-
<div>
263+
<div className='max-md:hidden'>
264264
<SectionTitle
265265
title='Layout'
266266
showReset={radioState !== 'default'}

0 commit comments

Comments
 (0)