histogram width divide by mode, not total #2
2 changed files with 4 additions and 2 deletions
|
@ -151,7 +151,9 @@ function App() {
|
|||
return (
|
||||
<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">
|
||||
<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
|
||||
className="h-6 w-6 cursor-pointer dark:stroke-white"
|
||||
onClick={() => handleDarkMode(!isDarkMode)}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
module.exports = {
|
||||
content: ['./src/**/*.{js,jsx,ts,tsx}'],
|
||||
darkMode: 'class',
|
||||
theme: {
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
|
|
Loading…
Add table
Reference in a new issue