Bugfix with ripple in floating button
parent
07ce014f63
commit
93c21438da
|
@ -11,6 +11,7 @@
|
|||
color: $button-default-text-color;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
border: 0;
|
||||
|
@ -103,6 +104,10 @@
|
|||
.icon {
|
||||
line-height: $button-floating-height;
|
||||
}
|
||||
|
||||
[data-react-toolbox="ripple"] {
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.primary:not([disabled]) {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
%ripple {
|
||||
position: absolute;
|
||||
z-index: $z-index-high;
|
||||
pointer-events: none;
|
||||
background-color: currentColor;
|
||||
border-radius: 50%;
|
||||
|
@ -18,6 +19,8 @@
|
|||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: $z-index-normal;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue