From a91df33997fdac99c5f7ed8577adebda0a676ec2 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 2 Aug 2016 22:11:45 +0200 Subject: place schedule elements absolute on calulated positions, fixes wrap-around bug --- assets/css/_schedule.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'assets') diff --git a/assets/css/_schedule.less b/assets/css/_schedule.less index 72ea294..6617432 100644 --- a/assets/css/_schedule.less +++ b/assets/css/_schedule.less @@ -10,6 +10,8 @@ .room { overflow: hidden; + position: relative; + height: 100px; } .now { @@ -32,7 +34,8 @@ .block { overflow: hidden; - float: left; + position: absolute; + top: 0; height: 100px; /* and now for small screens: */ -- cgit v1.2.3