Skip to content

Commit

Permalink
fix(layout): added overflow to forecast
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofsaja committed Jul 24, 2017
1 parent 4e48611 commit 6c689db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demo/demo.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ export class DemoComponent {
scale: TemperatureScale.CELCIUS,
backgroundColor: '#ffffff',
color: '#222222',
width: '400px',
height: 'auto',
width: '500px',
height: '400px',
showWind: true,
showDetails: true,
showForecast: true,
Expand Down
4 changes: 3 additions & 1 deletion src/weather.container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import {
position: relative;
padding: 1em;
box-sizing: border-box;
overflow-y: auto;
}
.info {
display: flex;
Expand All @@ -49,6 +48,8 @@ import {
}
.wide .forecast {
flex-grow: 1;
overflow-y: auto;
height: 100%;
}
.current {
display: flex;
Expand All @@ -60,6 +61,7 @@ import {
.forecast {
min-width: 200px;
width: 100%;
overflow-y: auto;
}
.current, .forecast {
padding: 0.5em;
Expand Down

0 comments on commit 6c689db

Please sign in to comment.