Skip to content

Commit 9b59a9f

Browse files
committed
fix(MdButton): force MdRipple to be added when using MdButton alone
1 parent f0d0f7c commit 9b59a9f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/components/MdButton/MdButtonContent.vue

+13
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,24 @@
77
</template>
88

99
<script>
10+
import MdRipple from 'components/MdRipple/MdRipple'
11+
1012
export default {
1113
name: 'MdButtonContent',
14+
components: {
15+
MdRipple
16+
},
1217
props: {
1318
mdRipple: Boolean,
1419
disabled: Boolean
1520
}
1621
}
1722
</script>
23+
24+
<style lang="scss">
25+
.md-button-content {
26+
position: relative;
27+
z-index: 2;
28+
}
29+
</style>
30+

0 commit comments

Comments
 (0)