✌️
This commit is contained in:
parent
eb325b46b2
commit
34d570aaeb
@ -88,6 +88,6 @@ export default define({
|
||||
padding 8px 16px
|
||||
|
||||
&:nth-child(even)
|
||||
background #e2e2e2
|
||||
background rgba(0, 0, 0, 0.05)
|
||||
|
||||
</style>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="mk-widget-container" :class="{ naked }">
|
||||
<div class="mk-widget-container" :class="{ naked, hideHeader: !showHeader }">
|
||||
<header v-if="showHeader">
|
||||
<div class="title"><slot name="header"></slot></div>
|
||||
<slot name="func"></slot>
|
||||
@ -31,6 +31,9 @@ export default Vue.extend({
|
||||
box-shadow 0 0 0 1px rgba(0, 0, 0, 0.2)
|
||||
overflow hidden
|
||||
|
||||
&.hideHeader
|
||||
background #fff
|
||||
|
||||
&.naked
|
||||
background transparent !important
|
||||
box-shadow none !important
|
||||
|
Loading…
Reference in New Issue
Block a user