From 237926fdf671594d11fc979be4c83fcee91f1ac7 Mon Sep 17 00:00:00 2001 From: HardiReady Date: Mon, 26 Feb 2018 09:54:08 +0100 Subject: [PATCH] Fix scoreboard view on scroll --- .../war-detail/war-detail.component.css | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/static/src/app/statistic/war-detail/war-detail.component.css b/static/src/app/statistic/war-detail/war-detail.component.css index 9e60f76..0791e30 100644 --- a/static/src/app/statistic/war-detail/war-detail.component.css +++ b/static/src/app/statistic/war-detail/war-detail.component.css @@ -1,3 +1,21 @@ +.war-header { + position: fixed; + left: 35%; + border-bottom: thin solid lightgrey; +} + +@media only screen and (max-width: 1950px) { + .war-header { + left: 30%; + } +} + +@media only screen and (max-width: 1500px) { + .war-header { + left: 380px; + } +} + .war-header-container { width: 920px; min-height: 168px; @@ -10,10 +28,6 @@ margin-bottom: 10px; } -.war-header { - border-bottom: thin solid lightgrey; -} - .nav-tabs > li.active > a { background: #222222; }