Skip to content

Commit

Permalink
fix: dividing line between jobs and vehicles
Browse files Browse the repository at this point in the history
references #432
  • Loading branch information
blackbirdem committed Jul 25, 2024
1 parent 843cb27 commit af100e6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="job-inputs">
<v-expansion-panel class="no-shadow" :value="jobExtended" :expand="true">
<v-expansion-panel class="content-list" :value="jobExtended" :expand="true">
<v-expansion-panel-content style="background: transparent;" v-for="(j, i) in jobs" :key="i">
<div v-if="localMapViewData === null || !unassignedIds.includes(j.id)" slot="header" style="padding-bottom: 0;"><v-icon style="padding: 0 5px 0 0">work</v-icon><b>Job {{j.id}} - {{ j.location[0].toPrecision(8) }}, {{ j.location[1].toPrecision(8)}}</b></div>
<div v-else slot="header" style="padding-bottom: 0"><v-icon style="padding: 0 5px 0 0">work</v-icon><b>Job {{j.id}} - {{ j.location[0].toPrecision(8) }}, {{ j.location[1].toPrecision(8)}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@
background-color: #ffd54f;
color: darkgoldenrod
}

.content-list {
box-shadow: none;
border-bottom: 2px solid #c62828;
margin: 0 0 5px 0;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="vehicle-inputs">
<v-expansion-panel class="no-shadow" :value="vehicleExtended" :expand="true">
<v-expansion-panel class="content-list" :value="vehicleExtended" :expand="true">
<v-expansion-panel-content style="background: transparent;" v-for="(v, i) in vehicles" :key="i">
<div slot="header" style="padding-bottom: 0;"><v-icon :color="vehicleColors(v.id)" style="padding: 0 5px 0 0">{{vehicleIcon(v.profile)}}</v-icon><b>Vehicle {{v.id}} ({{v.profile}})</b></div>
<v-card-text>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.content-list {
box-shadow: none;
border-bottom: 2px solid #c62828;
margin: 0 0 5px 0;
}

0 comments on commit af100e6

Please sign in to comment.