Useless fix for the vite default template with tailwind

This commit is contained in:
Imbus 2024-03-06 09:51:26 +01:00
parent 9d39ff5bc2
commit 4878ce1c39
2 changed files with 7 additions and 3 deletions

View file

@ -5,6 +5,10 @@
text-align: center; text-align: center;
} }
a {
display:inline-block;
}
.logo { .logo {
height: 6em; height: 6em;
padding: 1.5em; padding: 1.5em;

View file

@ -8,16 +8,16 @@ function App(): JSX.Element {
<> <>
<div> <div>
<a href="https://vitejs.dev" target="_blank" rel="noreferrer"> <a href="https://vitejs.dev" target="_blank" rel="noreferrer">
<img src={viteLogo} className="logo" alt="Vite logo" /> <img src={viteLogo} className="logo h-32" alt="Vite logo" />
</a> </a>
<a href="https://react.dev" target="_blank" rel="noreferrer"> <a href="https://react.dev" target="_blank" rel="noreferrer">
<img src={reactLogo} className="logo react" alt="React logo" /> <img src={reactLogo} className="logo react h-32" alt="React logo" />
</a> </a>
</div> </div>
<h1>Vite + React</h1> <h1>Vite + React</h1>
<div className="card"> <div className="card">
<CountButton /> <CountButton />
<p> <p className="pt-6">
Edit <code>src/App.tsx</code> and save to test HMR Edit <code>src/App.tsx</code> and save to test HMR
</p> </p>
</div> </div>