Commit e99e07342ff7925b01dbd1926c94ca8eeacd18da

Authored by Leonardo Merlin
1 parent bda1553a

CSS: fix handle box size by media query (no JS)

Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
src/app/components/programa/programa.scss
@@ -42,20 +42,20 @@ $darken: 15%; @@ -42,20 +42,20 @@ $darken: 15%;
42 42
43 &--title { 43 &--title {
44 44
45 - padding: $program-box-space; 45 + padding: 0 $program-box-space;
46 46
47 h1 { 47 h1 {
48 font-size: 18px; 48 font-size: 18px;
49 font-weight: bold; 49 font-weight: bold;
  50 + margin: 0 0 $program-box-space 0;
50 display: table-cell; 51 display: table-cell;
51 vertical-align: middle; 52 vertical-align: middle;
52 - margin: 10px 0;  
53 53
54 // Altura das linhas do abstract 54 // Altura das linhas do abstract
55 - $hLine: 20px; 55 + $hLine: 20px;
  56 + // default
  57 + height: $hLine * 2;
56 58
57 - height: $hLine * 2; // default  
58 -  
59 @media (max-width: $screen-xs) { 59 @media (max-width: $screen-xs) {
60 // height: $hLine * 3; 60 // height: $hLine * 3;
61 height: auto; 61 height: auto;