Removed min-width and improved selector efficiency

stable
Xavier Julián 2015-06-16 11:01:45 +02:00 committed by Juanfran
parent 27b428827f
commit b970bfd4fe
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,5 @@
.home-wrapper { .home-wrapper {
display: flex; display: flex;
padding-top: 2rem;
.duty-summary { .duty-summary {
flex: 1; flex: 1;
margin-right: 2rem; margin-right: 2rem;

View File

@ -1,6 +1,6 @@
div.wrapper div.wrapper
tg-project-menu tg-project-menu
div.main.centered.single-project div.centered.single-project
section.single-project-intro section.single-project-intro
h1 h1
span.green(class="project-name") {{::vm.project.get("name")}} span.green(class="project-name") {{::vm.project.get("name")}}

View File

@ -45,6 +45,7 @@ body {
} }
.centered { .centered {
@extend %main;
margin: 0 auto; margin: 0 auto;
max-width: 1200px; max-width: 1200px;
min-width: 960px; min-width: 960px;
@ -94,9 +95,10 @@ body {
background: $whitish; background: $whitish;
} }
%main,
.main { .main {
flex: 4; flex: 4;
min-width: 600px; flex-basis: 600px;
padding: 1rem 2rem; padding: 1rem 2rem;
} }