mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-05 10:18:42 +09:00
🎨
This commit is contained in:
parent
d580622d1b
commit
a96076ee5b
@ -100,9 +100,9 @@
|
|||||||
class="sortable"
|
class="sortable"
|
||||||
@sort="onWidgetSort"
|
@sort="onWidgetSort"
|
||||||
>
|
>
|
||||||
<div v-for="widget in widgets" class="customize-container" :key="widget.id">
|
<div v-for="widget in widgets" class="customize-container _panel" :key="widget.id">
|
||||||
<header>
|
<header>
|
||||||
<span class="handle"><fa :icon="faBars"/></span>{{ widget.name }}<button class="remove" @click="removeWidget(widget)"><fa :icon="faTimes"/></button>
|
<span class="handle"><fa :icon="faBars"/></span>{{ widget.name }}<button class="remove _button" @click="removeWidget(widget)"><fa :icon="faTimes"/></button>
|
||||||
</header>
|
</header>
|
||||||
<div @click="widgetFunc(widget.id)">
|
<div @click="widgetFunc(widget.id)">
|
||||||
<component :is="`mkw-${widget.name}`" :widget="widget" :ref="widget.id" :is-customize-mode="true"/>
|
<component :is="`mkw-${widget.name}`" :widget="widget" :ref="widget.id" :is-customize-mode="true"/>
|
||||||
@ -965,10 +965,10 @@ export default Vue.extend({
|
|||||||
> header {
|
> header {
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
background: #eee;
|
|
||||||
|
|
||||||
> .handle {
|
> .handle {
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
|
cursor: move;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .remove {
|
> .remove {
|
||||||
|
Loading…
Reference in New Issue
Block a user