-
-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathBullet.vue
More file actions
40 lines (40 loc) · 691 Bytes
/
Bullet.vue
File metadata and controls
40 lines (40 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!--
- SPDX-FileCopyrightText: 2024 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div class="bullet__wrapper">
<span class="bullet__name">
{{ name }}
</span>
</div>
</template>
<script>
export default {
name: 'Bullet',
props: {
name: {
type: String,
required: true,
},
},
}
</script>
<style lang="scss" scoped>
.bullet {
&__wrapper {
display: inline-block;
vertical-align: middle;
min-width: 0;
max-width: 100%;
}
&__name {
border-radius: 10px;
display: inline-flex;
max-width: 100%;
background-color: var(--color-background-dark);
padding-right: 8px;
padding-left: 8px;
}
}
</style>