From 8bfa4256f1599d6fafc9dd31674b505d12457b0f Mon Sep 17 00:00:00 2001 From: Roland Rytz Date: Fri, 7 Apr 2017 19:57:15 +0200 Subject: [PATCH] Fix position of objectsList --- web/_css/style.css | 14 ++++++++++++++ web/index.html | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/web/_css/style.css b/web/_css/style.css index 794b42cf..0d725ba4 100644 --- a/web/_css/style.css +++ b/web/_css/style.css @@ -268,6 +268,20 @@ #objectsList{ overflow-y: auto; } +@media (max-width: 700px) { + #objectsList{ + top: 50px; + max-height: calc(100% - 90px); + } +} + +@media (max-width: 500px) { + #objectsList{ + top: 80px; + max-height: calc(100% - 130px); + } +} + .object{ background-color: #555555; border: 1px #000000 solid; diff --git a/web/index.html b/web/index.html index 91bae9ca..46f55acd 100644 --- a/web/index.html +++ b/web/index.html @@ -26,7 +26,7 @@ - + The /r/place Atlas