histogram width divide by mode, not total #2

Merged
christofsteel merged 47 commits from honigle into main 2022-02-02 13:59:36 +01:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 9dcd05c0e1 - Show all commits

View file

@ -151,7 +151,9 @@ function App() {
return ( return (
<div className="py-8 max-w-7xl mx-auto sm:px-6 lg:px-8"> <div className="py-8 max-w-7xl mx-auto sm:px-6 lg:px-8">
<div className="flex w-80 mx-auto items-center mb-8"> <div className="flex w-80 mx-auto items-center mb-8">
<h1 className="text-xl grow font-bold dark:text-white">{WORDLE_TITLE}</h1> <h1 className="text-xl grow font-bold dark:text-white">
{WORDLE_TITLE}
</h1>
<SunIcon <SunIcon
className="h-6 w-6 cursor-pointer dark:stroke-white" className="h-6 w-6 cursor-pointer dark:stroke-white"
onClick={() => handleDarkMode(!isDarkMode)} onClick={() => handleDarkMode(!isDarkMode)}