From 2a724e9d6f1d28df128d6dba5606d3641228c56e Mon Sep 17 00:00:00 2001 From: Humberto Alfonso Díaz Date: Thu, 4 Jul 2019 14:12:55 +0200 Subject: FUNCT Add temperatures navigation --- src/styles/main.scss | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'src/styles') diff --git a/src/styles/main.scss b/src/styles/main.scss index 5fd580e..bafd901 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -62,24 +62,19 @@ body { } &.temperatures { - &:before { - padding-top:150%; - } - - .scrolling { - position: relative; - float: left; + .temperatures-container { width: 100%; - height: 100%; - overflow: scroll; + height: 480px; + overflow-y: scroll; + scroll-snap-type: y mandatory; .temperature { - position: relative; - float: left; - height: 50%; - width: 100%; font-size: 10rem; text-align: center; + width: 100%; + height: 240px; + line-height: 240px; + scroll-snap-align: start; } } } -- cgit 1.2.3-korg