mirror of https://github.com/ElemeFE/element
Container: forbid shrinking for Aside, Header and Footer (#9812)
parent
c6e4a11b33
commit
f677292d86
|
@ -11,7 +11,7 @@
|
||||||
],
|
],
|
||||||
"typings": "types/index.d.ts",
|
"typings": "types/index.d.ts",
|
||||||
"scripts": {
|
"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: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: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",
|
"build:utils": "cross-env BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js",
|
||||||
|
|
|
@ -3,4 +3,5 @@
|
||||||
@include b(aside) {
|
@include b(aside) {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,4 +4,5 @@
|
||||||
@include b(footer) {
|
@include b(footer) {
|
||||||
padding: $--footer-padding;
|
padding: $--footer-padding;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,4 +4,5 @@
|
||||||
@include b(header) {
|
@include b(header) {
|
||||||
padding: $--header-padding;
|
padding: $--header-padding;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue