Skip to content

Commit 77b968b

Browse files
committed
convert styles to tailwind classes
1 parent f3ddcc5 commit 77b968b

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

pages/tools/index.page.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,9 @@ export default function ToolingPage({
142142

143143
<div className='grid grid-cols-1 lg:grid-cols-4 mx-4 md:mx-12 min-h-screen'>
144144
<div
145-
className={`fixed top-10 lg:top-auto left-0 lg:left-auto mt-24 w-screen lg:w-auto h-full lg:h-auto bg-white dark:bg-slate-800 lg:bg-transparent transition-transform lg:transform-none duration-300 lg:duration-0 ease-in-out overflow-y-auto ${isSidebarOpen ? '-translate-x-0' : '-translate-x-full'} z-5`}
145+
className={`fixed top-10 lg:top-auto left-0 lg:left-auto mt-24 w-screen lg:w-auto h-full lg:h-auto bg-white dark:bg-slate-800 lg:bg-transparent transition-transform lg:transform-none duration-300 lg:duration-0 ease-in-out overflow-y-auto ${isSidebarOpen ? '-translate-x-0' : '-translate-x-full'} z-5 scrollbar-hidden`}
146146
style={{
147147
height: 'calc(100% - 8rem)',
148-
scrollbarWidth: 'none',
149-
msOverflowStyle: 'none',
150148
}}
151149
>
152150
<div className='hidden lg:block'>
@@ -167,8 +165,7 @@ export default function ToolingPage({
167165
</div>
168166

169167
<main
170-
className={`md:col-span-3 lg:mt-20 lg:w-full mx-4 md:mx-0 ${isSidebarOpen ? 'hidden lg:block' : ''}`}
171-
style={{ marginLeft: '19rem' }}
168+
className={`md:col-span-3 lg:mt-20 lg:w-full mx-4 md:mx-0 !ml-[300px] ${isSidebarOpen ? 'hidden lg:block' : ''}`}
172169
>
173170
<Headline1>JSON Schema Tooling</Headline1>
174171
<p className='text-slate-600 block leading-7 pb-1 dark:text-slate-300'>
@@ -189,7 +186,7 @@ export default function ToolingPage({
189186
>
190187
<Image
191188
src='/img/tools/adding_your_tool.png'
192-
className='rounded-sm '
189+
className='rounded-sm'
193190
height={68}
194191
width={190}
195192
alt='adding your tool'
@@ -210,7 +207,7 @@ export default function ToolingPage({
210207
>
211208
<Image
212209
src='/img/tools/try_bowtie.png'
213-
className='rounded-sm '
210+
className='rounded-sm'
214211
height={68}
215212
width={190}
216213
alt='try bowtie'

0 commit comments

Comments
 (0)