1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-03 09:18:09 +09:00
This commit is contained in:
syuilo 2020-07-04 21:19:12 +09:00
parent acc88825fc
commit cb41391bae
2 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<component :is="$store.state.device.animation ? 'transition-group' : 'div'" class="sqadhkmv" name="list" tag="div" :data-direction="direction" :data-reversed="reversed ? 'true' : 'false'"> <component :is="$store.state.device.animation ? 'transition-group' : 'div'" class="sqadhkmv _list_" name="list" tag="div" :data-direction="direction" :data-reversed="reversed ? 'true' : 'false'">
<template v-for="(item, i) in items"> <template v-for="(item, i) in items">
<slot :item="item"></slot> <slot :item="item"></slot>
<div class="separator" v-if="showDate(i, item)" :key="item.id + '_date'"> <div class="separator" v-if="showDate(i, item)" :key="item.id + '_date'">

View File

@ -279,11 +279,12 @@ hr {
position: relative; position: relative;
background: var(--panel); background: var(--panel);
border-radius: var(--radius); border-radius: var(--radius);
._panel {
box-shadow: 0 1px 0 0 var(--divider), 0 -1px 0 0 var(--divider);
border-radius: none;
} }
._widget ._list_ ._panel {
box-shadow: 0 1px 0 0 var(--divider), 0 -1px 0 0 var(--divider);
border-radius: 0;
margin: 0 !important;
} }
.__panelButton { .__panelButton {