From 5c334fb486ef64812e40683a757c5881305c2710 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Fri, 22 Jan 2016 11:36:45 -0500 Subject: [PATCH] fix(button): add z-index to button to make sure ripple doesn't expand outside of it The material design ripple on round and fab buttons is no longer a square but contained within the button fixes #5074 fixes #5148 --- ionic/components/button/button.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/ionic/components/button/button.scss b/ionic/components/button/button.scss index 02297c4072..1de2ba7a9c 100644 --- a/ionic/components/button/button.scss +++ b/ionic/components/button/button.scss @@ -15,6 +15,7 @@ $button-round-border-radius: 64px !default; align-items: center; justify-content: center; transition: background-color, opacity 100ms linear; + z-index: 0; white-space: nowrap; text-overflow: ellipsis;