From 9a5d65339b76b1656685086a32c49f70c110f404 Mon Sep 17 00:00:00 2001 From: simurai Date: Fri, 15 Jul 2016 10:57:14 +0900 Subject: [PATCH] Reduce Auto breakpoints --- styles/config.less | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/styles/config.less b/styles/config.less index b489b102..5b8294a4 100644 --- a/styles/config.less +++ b/styles/config.less @@ -1,3 +1,9 @@ +// Variables + +@auto-breakpoint-width: 1000px; +@auto-breakpoint-height: 600px; + + // Compact mode ---------------------------------------------- @theme-layoutmode: ~'theme-@{ui-theme-name}-layoutmode'; @@ -109,7 +115,7 @@ html { font-size: @font-size; } .compact-mode(); } -@media (max-width: 1280px), (max-height: 800px) { +@media (max-width: @auto-breakpoint-width), (max-height: @auto-breakpoint-height) { [@{theme-layoutmode}="auto"] { .compact-mode(); } @@ -123,7 +129,7 @@ html { font-size: @font-size; } .minimum-width-tabs(); } -@media (max-width: 1280px), (max-height: 800px) { +@media (max-width: @auto-breakpoint-width) { [@{theme-tabsizing}="auto"] { .minimum-width-tabs(); }