From cae0a06c4da125d6b6d2d5de25635524e89bd361 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 2 Jul 2014 16:36:13 +0600 Subject: [PATCH] SONAR-5333 Responsive widget grid --- sonar-server/src/main/less/dashboard.less | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/sonar-server/src/main/less/dashboard.less b/sonar-server/src/main/less/dashboard.less index 6d9a149ae59..aa181d7791e 100644 --- a/sonar-server/src/main/less/dashboard.less +++ b/sonar-server/src/main/less/dashboard.less @@ -321,6 +321,22 @@ .widget-span-11 { width: 91.666666666667%; } .widget-span-12 { width: 100%; } +@media (max-width: 1279px) { + .widget-span-1 { width: 50%; } + .widget-span-2 { width: 50%; } + .widget-span-3 { width: 50%; } + .widget-span-3-5 { width: 50%; } + .widget-span-4 { width: 50%; } + .widget-span-5 { width: 50%; } + .widget-span-6 { width: 50%; } + .widget-span-7 { width: 100%; } + .widget-span-8 { width: 100%; } + .widget-span-9 { width: 100%; } + .widget-span-10 { width: 100%; } + .widget-span-11 { width: 100%; } + .widget-span-12 { width: 100%; } +} + .widget-label { display: block; font-size: @baseFontSize; @@ -428,4 +444,4 @@ .description-widget-link-data { margin-top: 7px; -} \ No newline at end of file +} -- 2.39.5