File tree Expand file tree Collapse file tree
src/app/_components/main_frame Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export default function FontSizeDropdown() {
2525 < Menu as = "div" className = "relative inline-block text-left z-50" >
2626 < div >
2727 < MenuButton
28- className = "p-2 h-15 w-15 relative flex max-w-xs items-center rounded-full bg-gray-800 text-sm focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-gray-800"
28+ className = "p-2 h-15 w-15 relative flex max-w-xs items-center rounded-full text-tkokhing-blue hover:text-tkokhing-dark bg-gray-800 text-sm focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-gray-800"
2929 aria-label = "Open font size menu"
3030 >
3131 < span className = "absolute -inset-1.5" />
@@ -52,7 +52,7 @@ export default function FontSizeDropdown() {
5252 < button
5353 onClick = { ( ) => setFontSize ( size as typeof fontSize ) }
5454 className = { classNames (
55- focus ? 'bg-gray-100 dark:bg-gray-700 text-gray-900 dark:text-white ' : 'text-gray-700 dark:text-gray-300' ,
55+ focus ? 'bg-gray-100 dark:bg-gray-700 text-tkokhing-blue dark:text-tkokhing-dark ' : 'text-gray-700 dark:text-gray-300' ,
5656 'flex justify-between w-full px-4 py-2 text-sm'
5757 ) }
5858 >
Original file line number Diff line number Diff line change @@ -96,13 +96,9 @@ export default function Navigationbar() {
9696 </ div >
9797 </ div >
9898 < div className = "hidden md:block" >
99- < div className = "space-x-10 items-center px-4 md:ml-6 flex flex-row" >
100- < div className = "flex justify-evenly" >
101- < FontSizeDropdown />
102- </ div >
103- < div className = "flex justify-evenly" >
104- < ThemeSwitcher />
105- </ div >
99+ < div className = "space-x-10 items-center px-4 md:ml-6 flex flex-row justify-evenly" >
100+ < FontSizeDropdown />
101+ < ThemeSwitcher />
106102 </ div >
107103 </ div >
108104 < div className = "-mr-2 flex md:hidden" >
@@ -119,13 +115,9 @@ export default function Navigationbar() {
119115 </ div >
120116 </ div >
121117 < DisclosurePanel className = "md:hidden" >
122- < div className = "border-t border-gray-700 pb-3 pt-4 flex flex-row" >
123- < div className = "flex justify-evenly w-1/2" >
124- < FontSizeDropdown />
125- </ div >
126- < div className = "flex justify-evenly w-1/2" >
127- < ThemeSwitcher />
128- </ div >
118+ < div className = "border-t border-gray-700 pb-3 pt-4 items-center flex flex-row justify-around" >
119+ < FontSizeDropdown />
120+ < ThemeSwitcher />
129121 </ div >
130122 < div className = "space-y-1 px-2 pb-3 pt-2 sm:px-3" >
131123 { navigation . map ( ( item ) => (
You can’t perform that action at this time.
0 commit comments