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 2 additions and 2 deletions
Showing only changes of commit 70f973071b - Show all commits

View file

@ -150,7 +150,7 @@ 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 mt-12">
<h1 className="text-xl grow font-bold dark:text-white"> <h1 className="text-xl grow font-bold dark:text-white">
{WORDLE_TITLE} {WORDLE_TITLE}
</h1> </h1>

View file

@ -10,7 +10,7 @@ type Props = {
export const Alert = ({ isOpen, message, variant = 'warning' }: Props) => { export const Alert = ({ isOpen, message, variant = 'warning' }: Props) => {
const classes = classNames( const classes = classNames(
'fixed top-20 left-1/2 transform -translate-x-1/2 max-w-sm w-full shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden', 'fixed top-5 left-1/2 transform -translate-x-1/2 max-w-sm w-full shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden',
{ {
'bg-rose-200': variant === 'warning', 'bg-rose-200': variant === 'warning',
'bg-green-200 z-20': variant === 'success', 'bg-green-200 z-20': variant === 'success',