Skip to content

Commit 542306d

Browse files
committed
⚙️ Fix: Responsiveness
1 parent 7c6401a commit 542306d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/boxshadows.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,17 +157,17 @@ const CustomNav = ({ onModalClick }) => {
157157
/>
158158
</a>
159159
</Link>
160-
<div>
160+
<div className="flex flex-row items-center">
161161
<a
162162
href="https://github.com/manuarora700/manuarora.in/blob/master/pages/boxshadows.js"
163163
target="__blank"
164-
className="text-gray-400 underline invisible md:visible text-sm font-normal mr-4"
164+
className="text-gray-400 underline hidden sm:block text-sm font-normal mr-4"
165165
>
166166
Code? Here.
167167
</a>
168168
<button
169169
onClick={onModalClick}
170-
className="text-white invisible md:visible border border-gray-700 bg-black text-sm font-normal rounded-md px-2 py-2 mr-4"
170+
className="text-white hidden sm:block border border-gray-700 bg-black text-sm font-normal rounded-md px-2 py-2 mr-4"
171171
>
172172
Custom CSS to JIT 🚀
173173
</button>

0 commit comments

Comments
 (0)