From c31f413a4f5b33f06bd9af06ac420061deea5961 Mon Sep 17 00:00:00 2001 From: Leopoldthecoder Date: Thu, 19 Oct 2017 15:54:01 +0800 Subject: [PATCH] Layout: add xl breakpoint --- examples/docs/en-US/date-picker.md | 5 +- examples/docs/en-US/layout.md | 25 +++++--- examples/docs/en-US/select.md | 2 + examples/docs/en-US/switch.md | 46 ++++++------- examples/docs/zh-CN/date-picker.md | 3 +- examples/docs/zh-CN/layout.md | 27 +++++--- examples/docs/zh-CN/select.md | 4 +- examples/docs/zh-CN/switch.md | 46 ++++++------- packages/col/src/col.js | 5 +- packages/select/src/select.vue | 5 ++ packages/switch/src/component.vue | 64 +++++++++---------- packages/theme-chalk/src/col.scss | 39 ++++++++++- packages/theme-chalk/src/common/var.scss | 9 ++- packages/theme-chalk/src/select-dropdown.scss | 5 +- test/unit/specs/switch.spec.js | 14 ++-- types/col.d.ts | 7 +- types/switch.d.ts | 16 ++--- 17 files changed, 197 insertions(+), 125 deletions(-) diff --git a/examples/docs/en-US/date-picker.md b/examples/docs/en-US/date-picker.md index 539e6b2e2..34d41908f 100644 --- a/examples/docs/en-US/date-picker.md +++ b/examples/docs/en-US/date-picker.md @@ -210,7 +210,7 @@ You can choose week, month or year by extending the standard date picker compone Picking a date range is supported. -:::demo +:::demo When in range mode, the left and right panels are linked by default. If you want the two panels to switch current months independently, you can use the `unlink-panels` attribute. ```html