Commit c010d59308e880833ba53d8ecff8b4eb00b1d18f
1 parent
7cf49899
Exists in
master
and in
2 other branches
improve track steps to have titles with until 3 lines
Showing
1 changed file
with
8 additions
and
4 deletions
Show diff stats
_homeblocks.sass
@@ -159,6 +159,8 @@ | @@ -159,6 +159,8 @@ | ||
159 | border: 1px solid #E5E5E5 | 159 | border: 1px solid #E5E5E5 |
160 | border-radius: 5px | 160 | border-radius: 5px |
161 | color: #A2A2A2 | 161 | color: #A2A2A2 |
162 | + display: inline-block | ||
163 | + float: none | ||
162 | font-family: 'Ubuntu' | 164 | font-family: 'Ubuntu' |
163 | font-size: 16px | 165 | font-size: 16px |
164 | height: 50px | 166 | height: 50px |
@@ -170,15 +172,17 @@ | @@ -170,15 +172,17 @@ | ||
170 | display: none | 172 | display: none |
171 | .name | 173 | .name |
172 | color: #A2A2A2 | 174 | color: #A2A2A2 |
173 | - float: left | 175 | + display: inline-block |
174 | font-family: 'Ubuntu Mediun' | 176 | font-family: 'Ubuntu Mediun' |
175 | font-size: 15px | 177 | font-size: 15px |
176 | font-weight: normal | 178 | font-weight: normal |
177 | - height: 50px | ||
178 | - line-height: 50px | ||
179 | - margin: 0 0 0 10px | 179 | + height: auto |
180 | + line-height: 17px | ||
181 | + margin: -5px auto auto 10px | ||
182 | + max-height: 52px | ||
180 | overflow: hidden | 183 | overflow: hidden |
181 | padding: 0 | 184 | padding: 0 |
185 | + vertical-align: middle | ||
182 | width: 320px | 186 | width: 320px |
183 | .legend | 187 | .legend |
184 | background: url('icons/closed.png') no-repeat left center | 188 | background: url('icons/closed.png') no-repeat left center |