iceshrimp/packages/client/src/components/debobigego/key-value-view.vue

39 lines
672 B
Vue
Raw Normal View History

<template>
2021-09-30 00:50:45 +09:00
<div class="_debobigegoItem">
<div class="_debobigegoPanel anocepby">
<span class="key"><slot name="key"></slot></span>
<span class="value"><slot name="value"></slot></span>
</div>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
2021-09-30 00:50:45 +09:00
import './debobigego.scss';
export default defineComponent({
});
</script>
<style lang="scss" scoped>
.anocepby {
display: flex;
align-items: center;
2021-09-30 00:50:45 +09:00
padding: 14px var(--debobigegoContentHMargin);
2021-04-16 15:44:17 +09:00
> .key {
margin-right: 12px;
2021-04-16 17:52:45 +09:00
white-space: nowrap;
2021-04-16 15:44:17 +09:00
}
> .value {
margin-left: auto;
opacity: 0.7;
2021-04-16 15:44:17 +09:00
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
}
</style>