Useless fix for the vite default template with tailwind
This commit is contained in:
parent
9d39ff5bc2
commit
4878ce1c39
2 changed files with 7 additions and 3 deletions
|
@ -5,6 +5,10 @@
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
a {
|
||||
display:inline-block;
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 6em;
|
||||
padding: 1.5em;
|
||||
|
|
|
@ -8,16 +8,16 @@ function App(): JSX.Element {
|
|||
<>
|
||||
<div>
|
||||
<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 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>
|
||||
</div>
|
||||
<h1>Vite + React</h1>
|
||||
<div className="card">
|
||||
<CountButton />
|
||||
<p>
|
||||
<p className="pt-6">
|
||||
Edit <code>src/App.tsx</code> and save to test HMR
|
||||
</p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue