Container: forbid shrinking for Aside, Header and Footer (#9812)

pull/9831/head
杨奕 2018-02-13 23:17:50 +08:00 committed by GitHub
parent c6e4a11b33
commit f677292d86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,7 @@
],
"typings": "types/index.d.ts",
"scripts": {
"bootstrap": "yarn",
"bootstrap": "yarn || npm i",
"build:file": "node build/bin/iconInit.js & node build/bin/build-entry.js & node build/bin/i18n.js & node build/bin/version.js",
"build:theme": "node build/bin/gen-cssfile && gulp build --gulpfile packages/theme-chalk/gulpfile.js && cp-cli packages/theme-chalk/lib lib/theme-chalk",
"build:utils": "cross-env BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js",

View File

@ -3,4 +3,5 @@
@include b(aside) {
overflow: auto;
box-sizing: border-box;
flex-shrink: 0;
}

View File

@ -4,4 +4,5 @@
@include b(footer) {
padding: $--footer-padding;
box-sizing: border-box;
flex-shrink: 0;
}

View File

@ -4,4 +4,5 @@
@include b(header) {
padding: $--header-padding;
box-sizing: border-box;
flex-shrink: 0;
}