aboutsummaryrefslogtreecommitdiff
path: root/src/components/select/select.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2023-10-29 16:26:05 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2023-10-29 16:26:05 +0000
commitb6accf9e7f7ef5f23cbf8bac57e54cefa0db4620 (patch)
tree91d6db4e663dfa8f94991032220fd415a5612d17 /src/components/select/select.vue
parent321a131c20d83b0a7061c2b4600c4d77dec5b7fe (diff)
parentf685f9021bfaff71616efd8e83d114441e69701b (diff)
Merge branch 'develop' into 'master'
Update master branch See merge request pleroma/pleroma-fe!1861
Diffstat (limited to 'src/components/select/select.vue')
-rw-r--r--src/components/select/select.vue8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/components/select/select.vue b/src/components/select/select.vue
index 92493b0b..1797afc8 100644
--- a/src/components/select/select.vue
+++ b/src/components/select/select.vue
@@ -6,6 +6,7 @@
<select
:disabled="disabled"
:value="modelValue"
+ v-bind="attrs"
@change="$emit('update:modelValue', $event.target.value)"
>
<slot />
@@ -21,22 +22,20 @@
<script src="./select.js"> </script>
<style lang="scss">
-@import '../../_variables.scss';
+@import "../../variables";
/* TODO fix order of styles */
label.Select {
padding: 0;
select {
- -webkit-appearance: none;
- -moz-appearance: none;
appearance: none;
background: transparent;
border: none;
color: $fallback--text;
color: var(--inputText, --text, $fallback--text);
margin: 0;
- padding: 0 2em 0 .2em;
+ padding: 0 2em 0 0.2em;
font-family: sans-serif;
font-family: var(--inputFont, sans-serif);
font-size: 1em;
@@ -59,6 +58,5 @@ label.Select {
z-index: 0;
pointer-events: none;
}
-
}
</style>