Skip to content

Commit 372dd86

Browse files
committed
Snygga till inmatningsfält ytterligare
1 parent d887b29 commit 372dd86

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

src/assets/extendables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
%text-input {
2-
border: 1px solid #ccc;
2+
border: 1px solid var(--bs-border-color);
33
border-radius: 4px;
44
background-color: #fff;
55
transition: border-color 0.3s,

src/assets/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
$tooltip-max-width: 320px;
66
$tooltip-padding-x: 0.75rem;
77
$tooltip-padding-y: 0.5rem;
8+
$border-color: #bbb;
89
@import "bootstrap/scss/bootstrap.scss";
910

1011
body {

src/components/edit/blocks/EditItemSelector.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const minimumTaxonomyItemLevel = computed(() => {
2525
</script>
2626

2727
<template>
28-
<div class="d-flex">
28+
<div class="selector-container">
2929
<VueSelect
3030
v-model="taxonomyItemToAdd"
3131
:filter-by="
@@ -82,10 +82,17 @@ const minimumTaxonomyItemLevel = computed(() => {
8282
</template>
8383

8484
<style lang="scss" scoped>
85+
.selector-container {
86+
display: flex;
87+
padding: 0 0.5rem;
88+
}
89+
8590
.custom-select {
8691
/* TODO: Kan hamna för långt upp... */
8792
--vs-menu-height: 24rem;
8893
94+
--vs-border: 1px solid var(--bs-border-color);
95+
8996
:deep(.menu) {
9097
/* Så att dropdownen öppnas uppåt */
9198
bottom: 100%;

0 commit comments

Comments
 (0)