Remove additional space (it is moved outside the element)
This commit is contained in:
parent
00e2ba70c2
commit
38467a8bc2
@ -1,10 +1,9 @@
|
|||||||
import {Image, Spacer, Text} from "@nextui-org/react";
|
import {Image, Text} from "@nextui-org/react";
|
||||||
import logo from "../assets/niklas-birk-logo.png";
|
import logo from "../assets/niklas-birk-logo.png";
|
||||||
|
|
||||||
function Header() {
|
function Header() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Spacer y={3} />
|
|
||||||
<Image
|
<Image
|
||||||
src={logo}
|
src={logo}
|
||||||
width={200}
|
width={200}
|
||||||
@ -20,7 +19,6 @@ function Header() {
|
|||||||
weight="bold">
|
weight="bold">
|
||||||
Niklas Birk
|
Niklas Birk
|
||||||
</Text>
|
</Text>
|
||||||
<Spacer y={2} />
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user