feat: Creates label dropdown component (#2220)

* Feat: Creates label dropdown component

* fixes conflicts in i18n

Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
This commit is contained in:
Sivin Varghese
2021-05-06 20:01:26 +05:30
committed by GitHub
parent 5c80d0ac42
commit 2839454bc0
7 changed files with 360 additions and 13 deletions

View File

@@ -27,19 +27,21 @@ export default {
};
</script>
<style lang="scss" scoped>
.dropdown-menu__item ::v-deep {
a,
.button {
font-weight: var(--font-size-normal);
font-size: var(--font-size-small);
width: 100%;
text-align: left;
white-space: nowrap;
padding: var(--space-small) var(--space-one);
.dropdown-menu__item {
list-style: none;
&:hover {
background: var(--color-background);
border-radius: var(--border-radius-normal);
::v-deep {
a,
.button {
width: 100%;
text-align: left;
white-space: nowrap;
padding: var(--space-small) var(--space-one);
&:hover {
background: var(--color-background);
border-radius: var(--border-radius-normal);
}
}
}
}