Skip to content

Commit

Permalink
fix(floatPanel): wrapper css add width:100% (#150)
Browse files Browse the repository at this point in the history
Co-authored-by: xinshu.sxs <[email protected]>
  • Loading branch information
Sxs7513 and xinshu.sxs authored Jun 20, 2022
1 parent bbbedb6 commit f1ecaf2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
5 changes: 0 additions & 5 deletions demo/pages/FloatPanel/index.acss
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@
}

.wrapper {
position: fixed;
z-index: 999;
bottom: 0;
width: 100%;
background-color: transparent;
}

.wrapper .amd-swiper-section {
Expand Down
5 changes: 0 additions & 5 deletions demo/pages/FloatPanelEvent/index.acss
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@
}

.wrapper {
position: fixed;
z-index: 999;
bottom: 0;
width: 100%;
background-color: transparent;
}

.wrapper .amd-swiper-section {
Expand Down
3 changes: 2 additions & 1 deletion src/FloatPanel/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
background-color: transparent;
transition : all .2s;
overflow : hidden;
z-index : 1;
z-index : 999;
position: fixed;
bottom: 0;
width: 100%;

.amd-floatpanel-arrow-wrapper {
padding-bottom : 12 * @rpx;
Expand Down

0 comments on commit f1ecaf2

Please sign in to comment.