Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Artlytical Media
Marthas Vineyard Museum Frontity
Commits
9fa02cca
Commit
9fa02cca
authored
Jan 27, 2021
by
KS Support 2
Browse files
fixing width of newsletter-social.js and hours.js component
parent
7d61ed45
Changes
2
Hide whitespace changes
Inline
Side-by-side
packages/mvmuseum-theme/src/components/home/hours.js
View file @
9fa02cca
...
...
@@ -49,6 +49,7 @@ const PropertyRow = styled(Container)`
padding: 3rem 1rem;
display: flex;
justify-content: center;
width: 100%;
${(
props
)
=>
props
.
theme
.
breakPoints
.
md
}
{
flex-direction: column;
...
...
packages/mvmuseum-theme/src/components/partials/newsletter-socialmedia.js
View file @
9fa02cca
...
...
@@ -18,7 +18,7 @@ const NewsletterSocialMedia = ({ state }) => {
<
NewsletterForm
theme
=
{
state
.
theme
}
>
<
h2
>
Sign
up
for
our
newsletter
<
/h2
>
<
StyledForm
>
<
StyledForm
theme
=
{
state
.
theme
}
>
<
Container
>
<
input
placeholder
=
"
enter your email
"
/>
<
button
type
=
"
submit
"
>
...
...
@@ -50,8 +50,7 @@ const NewsletterSocialMedia = ({ state }) => {
export
default
connect
(
NewsletterSocialMedia
);
const
NewsletterSocialMediaContainer
=
styled
.
div
`
width: 100vw;
display: grid;
width: 100%;
${
""
/* grid-template-rows: repeat(3, 1fr); */
}
position: relative;
z-index: 100;
...
...
@@ -113,6 +112,10 @@ const StyledForm = styled.form`
cursor: pointer;
background: none;
}
${(
props
)
=>
props
.
theme
.
breakPoints
.
md
}
{
width: 50%;
}
`
;
const
SocialMedia
=
styled
.
div
`
...
...
Write
Preview
Markdown
is supported
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