Bugfix with ripple in floating button

old
Javi Velasco 2015-10-29 09:52:55 +01:00
parent 07ce014f63
commit 93c21438da
2 changed files with 8 additions and 0 deletions

View File

@ -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]) {

View File

@ -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;
}