From 4e837faa0307fda4d0d3bd463c88a7ef43817443 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 20 九月 2019 16:06:41 +0800 Subject: [PATCH] 2019-09-20update --- src/components/tabview/index.scss | 20 +++++--------------- 1 files changed, 5 insertions(+), 15 deletions(-) diff --git a/src/components/tabview/index.scss b/src/components/tabview/index.scss index eea5112..25ec811 100644 --- a/src/components/tabview/index.scss +++ b/src/components/tabview/index.scss @@ -1,6 +1,7 @@ .content-box { padding-top: 48px; - + max-width: calc(100% - 235px); + transition: max-width 0.2s; .content-header { width: 100%; height: 100%; @@ -27,20 +28,9 @@ height: calc(100vh - 115px); overflow-y: scroll; border: 0; - // &:-webkit-scrollbar { - // width: 4px; - // height: 4px; - // } - // &:-webkit-scrollbar-thumb { - // border-radius: 5px; - // box-shadow: inset 0 0 5px rgba(0,0,0,0.2); - // background: rgba(0,0,0,0.2); - // } - // &:-webkit-scrollbar-track {/*婊氬姩鏉¢噷闈㈣建閬�*/ - // box-shadow: inset 0 0 5px rgba(0,0,0,0.2); - // border-radius: 0; - // background: rgba(0,0,0,0.1); - // } } } +} +.content-box.collapsed { + max-width: calc(100% - 80px); } \ No newline at end of file -- Gitblit v1.8.0