Skip to content
This repository has been archived by the owner on Sep 7, 2018. It is now read-only.

Reduce Auto breakpoints #152

Merged
merged 1 commit into from
Jul 22, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 8 additions & 2 deletions styles/config.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// Variables

@auto-breakpoint-width: 1000px;
@auto-breakpoint-height: 600px;


// Compact mode ----------------------------------------------

@theme-layoutmode: ~'theme-@{ui-theme-name}-layoutmode';
Expand Down Expand Up @@ -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();
}
Expand All @@ -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();
}
Expand Down