Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function App() {

return (
<div className="pt-2 pb-8 max-w-7xl mx-auto sm:px-6 lg:px-8">
<div className="flex w-80 mx-auto items-center mb-8 mt-20">
<div className="flex w-80 mx-auto items-center mt-4 mb-6">
<h1 className="text-xl ml-2.5 grow font-bold dark:text-white">
{GAME_TITLE}
</h1>
Expand Down
4 changes: 2 additions & 2 deletions src/components/alerts/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const Alert = ({
topMost = false,
}: Props) => {
const classes = classNames(
'fixed z-20 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',
'fixed z-20 top-14 left-1/2 transform -translate-x-1/2 max-w-sm shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden',
{
'bg-rose-500 text-white': variant === 'error',
'bg-blue-500 text-white': variant === 'success',
Expand All @@ -35,7 +35,7 @@ export const Alert = ({
leaveTo="opacity-0"
>
<div className={classes}>
<div className="p-4">
<div className="p-2">
<p className="text-sm text-center font-medium">{message}</p>
</div>
</div>
Expand Down
5 changes: 0 additions & 5 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@
animation-fill-mode: backwards;
}

svg:hover {
animation: float infinite;
animation-duration: var(--animation-speed);
}

.jiggle {
animation: jiggle linear;
animation-duration: var(--animation-speed-fast);
Expand Down