Smaller padding in menu and sections on small resolutions

This commit is contained in:
Eliot Berriot 2018-02-15 22:34:14 +01:00
parent a703b26ac2
commit 28c0121c89
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
2 changed files with 15 additions and 7 deletions

View file

@ -22,8 +22,12 @@ export default {
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss">
@import '../../style/vendor/media';
.library.pusher > .ui.secondary.menu {
margin: 0 2.5rem;
@include media(">tablet") {
margin: 0 2.5rem;
}
.item {
padding-top: 1.5em;
padding-bottom: 1.5em;
@ -37,7 +41,10 @@ export default {
padding: 0;
.segment-content {
margin: 0 auto;
padding: 4em;
padding: 2em;
@include media(">tablet") {
padding: 4em;
}
}
&.with-background {
.header {