React-SaaS-sample/src/components/SectionHeader/styles.scss
Ruidy Nemausat fee97cf1fd First
2019-10-20 11:24:18 +02:00

20 lines
379 B
SCSS

.SectionHeader__header {
margin-bottom: 3rem;
// Remove margin if nothing after header
&:last-child {
margin-bottom: 0;
}
// Added if props.centered is true
&.is-centered {
text-align: center;
}
.subtitle {
max-width: 700px;
// So we can have max-width but still
// have alignment controlled by text-align.
display: inline-block;
}
}