fix(fab): fab size when href provided

fixes #16833
This commit is contained in:
Manu Mtz.-Almeida
2018-12-28 19:19:06 +01:00
committed by Manu MA
parent f05c59979f
commit b3316d480f
2 changed files with 3 additions and 7 deletions

View File

@@ -100,6 +100,8 @@
overflow: hidden;
z-index: 0;
appearance: none;
box-sizing: border-box;
}
.button-native[disabled] {
@@ -150,12 +152,6 @@
pointer-events: none;
}
.button-native[disabled] {
cursor: default;
opacity: .5;
pointer-events: none;
}
// FAB Content
// --------------------------------------------------

View File

@@ -25,7 +25,7 @@
<pre id="log" style="right:10px; bottom:50px; text-shadow: 0 0 2px rgba(0, 0, 0, 0.24);" slot="fixed">log</pre>
<ion-button>Test</ion-button>
<ion-fab-button disabled onclick="throw 'no clickable'">FAB</ion-fab-button>
<ion-fab-button disabled href="#path" onclick="throw 'no clickable'">FAB</ion-fab-button>
<ion-fab vertical="top" horizontal="end" edge id="fab1" slot="fixed">
<ion-fab-button onclick="clickMainFAB('fab1')" size="small" class="e2eFabTopRight">