Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Peter van der meulen
Aurora Bot Map
Commits
a216e4a4
Verified
Commit
a216e4a4
authored
Nov 21, 2020
by
Peter van der meulen
Browse files
Max width on headers
parent
9a4e03f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Components/Header/Header.tsx
View file @
a216e4a4
...
...
@@ -6,7 +6,7 @@ import marvinLogo from './marvinLogo.png';
const
Header
:
React
.
FC
=
()
=>
(
<
div
className
=
{
HeaderStyle
.
header
}
style
=
{
{
backgroundImage
:
`url(
${
backgroundImage
}
)`
}
}
>
<
div
className
=
{
HeaderStyle
.
headerInner
}
>
<
img
src
=
{
marvinLogo
}
alt
=
""
width
=
"300"
/>
<
img
src
=
{
marvinLogo
}
alt
=
""
width
=
"300"
className
=
{
HeaderStyle
.
headerLogo
}
/>
</
div
>
</
div
>
)
...
...
src/Components/Header/header.module.scss
View file @
a216e4a4
...
...
@@ -15,3 +15,7 @@
color
:
#DDD
;
z-index
:
2
;
}
.headerLogo
{
max-width
:
35%
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment