diff --git a/static/flex.scss b/static/flex.scss index 0b46137b1a49f21dfff84ab534728831b5181bae..44632005edcb381335aace4878b3609db26ec1d0 100644 --- a/static/flex.scss +++ b/static/flex.scss @@ -1,8 +1,49 @@ -page ::v-deep { - uni-view, - uni-label, - uni-swiper-item, - uni-scroll-view { +view, +label, +swiper-item +{ + display: flex; + flex-shrink: 0; + flex-grow: 0; + flex-basis: auto; + align-items: stretch; + align-content: flex-start; +} + +button{ + margin: 0; +} + +view, +label, +swiper-item { + flex-direction: column; +} + + +view, +image, +input, +scroll-view, +swiper, +swiper-item, +text, +textarea, +video { + position: relative; + border: 0px solid #000000; + box-sizing: border-box; +} + +swiper-item { + position: absolute; +} + +::v-deep { + view, + label, + swiper-item + { display: flex; flex-shrink: 0; flex-grow: 0; @@ -11,32 +52,31 @@ page ::v-deep { align-content: flex-start; } - uni-button{ + button{ margin: 0; } - uni-view, - uni-label, - uni-swiper-item { + view, + label, + swiper-item { flex-direction: column; } - - uni-view, - uni-image, - uni-input, - uni-scroll-view, - uni-swiper, - uni-swiper-item, - uni-text, - uni-textarea, - uni-video { + view, + image, + input, + scroll-view, + swiper, + swiper-item, + text, + textarea, + video { position: relative; border: 0px solid #000000; box-sizing: border-box; } - uni-swiper-item { + swiper-item { position: absolute; } -} \ No newline at end of file +}