separator for cellection quotes

This commit is contained in:
Settel 2021-11-28 20:59:33 +01:00
parent 1d30b13078
commit 571193698d

View File

@ -1,4 +1,6 @@
<template> <template>
<div class="quote-list-item">
<div class="quote-list-item__separator" />
<div class="quote-list-item__container"> <div class="quote-list-item__container">
<div class="quote-list-item__quote"> <div class="quote-list-item__quote">
{{ quote.quote }} {{ quote.quote }}
@ -8,6 +10,7 @@
<div class="quote-list-item__icon quote-list-item__icon-delete" @click="remove" /> <div class="quote-list-item__icon quote-list-item__icon-delete" @click="remove" />
</div> </div>
</div> </div>
</div>
</template> </template>
<script> <script>
export default { export default {
@ -29,9 +32,17 @@ export default {
<style lang="scss"> <style lang="scss">
@import '~/assets/css/components'; @import '~/assets/css/components';
.quote-list-item__container ~ .quote-list-item__container {
}
.quote-list-item { .quote-list-item {
& ~ & &__separator {
height: 1px;
margin: 0 40%;
background-color: $primary-text-color;
}
&__container { &__container {
display: flex; display: flex;
padding: 48px 32px;
} }
&__quote { &__quote {
color: $primary-text-color; color: $primary-text-color;