Skip to content

Commit

Permalink
Merge pull request #8 from NMSCD/dev
Browse files Browse the repository at this point in the history
add styling to select elements
  • Loading branch information
Lenni009 authored Jul 16, 2024
2 parents 1f41557 + c09b1ab commit 9c32047
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
21 changes: 10 additions & 11 deletions src/components/EditEndpointDialogue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,17 +124,16 @@ const isOutOfSafeRange = computed(() => {
type="text"
/>
<label>Type:</label>
<select
v-model="newEndpointType"
class="select"
>
<option
v-for="endpointType in teleporterTypesEnum"
:value="endpointType"
>
{{ endpointType }}
</option>
</select>
<div class="select">
<select v-model="newEndpointType">
<option
v-for="endpointType in teleporterTypesEnum"
:value="endpointType"
>
{{ endpointType }}
</option>
</select>
</div>
</form>

<form
Expand Down
21 changes: 10 additions & 11 deletions src/components/FilterInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,15 @@ const teleporterFilterTypes = {
</FilterInputWrapper>
<FilterInputWrapper>
<label class="has-text-weight-bold">Filter Types</label>
<select
v-model="filterType"
class="select"
>
<option
v-for="teleporterType in teleporterFilterTypes"
:value="teleporterType"
>
{{ teleporterType }}
</option>
</select>
<div class="select">
<select v-model="filterType">
<option
v-for="teleporterType in teleporterFilterTypes"
:value="teleporterType"
>
{{ teleporterType }}
</option>
</select>
</div>
</FilterInputWrapper>
</template>
4 changes: 4 additions & 0 deletions src/style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ html {
color: white;
}
}

.select select {
width: 100%;
}

0 comments on commit 9c32047

Please sign in to comment.