Skip to content

Commit

Permalink
fix(ZMS-1268): changed html-tag for appointment-count and adjusted st…
Browse files Browse the repository at this point in the history
…yling (#118)
  • Loading branch information
Fabinatix97 authored Nov 22, 2024
1 parent 29f98b5 commit ac66a9a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions frontend/public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ p, span, div, button, td, th, .v-label, .v-list-item__title {
}

.appointment-count {
font-family: Roboto Condensed, Arial, sans-serif;
font-weight: 600;
font-size: 1.17em;
color: #3a5368 !important;
margin: 0 0.5rem;
}

Expand Down
12 changes: 6 additions & 6 deletions frontend/src/components/ServiceFinder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@
@click="decreaseAppointments($store.state.data.service)">
<v-icon>{{ minusSvg }}</v-icon>
</v-btn>
<h3 tabindex="0"
:aria-label="`Akuelle Anzahl ausgewählter Dienstleistungen ` + appointmentCounts[$store.state.data.service.id]"
<span tabindex="0"
:aria-label="`Aktuelle Anzahl ausgewählter Dienstleistungen ` + appointmentCounts[$store.state.data.service.id]"
class="appointment-count" :key="appointmentCounts[$store.state.data.service.id]">
{{ appointmentCounts[$store.state.data.service.id] }}
</h3>
</span>
<v-btn id="button-up" ref="buttonUp" class="appointment-count-button"
:aria-label="`Anzahl der Dienstleistung erhöhen auf` + (appointmentCounts[$store.state.data.service.id] + 1)"
:aria-label="`Anzahl der Dienstleistung erhöhen auf ` + (appointmentCounts[$store.state.data.service.id] + 1)"
:aria-describedby="`appointment-count-name-` + $store.state.data.service.id"
:disabled="!canIncreaseAppointments($store.state.data.service)" fab
@click="increaseAppointments($store.state.data.service)">
Expand All @@ -96,11 +96,11 @@
:disabled="!canDecreaseAppointments(subService)" fab @click="decreaseAppointments(subService)">
<v-icon>{{ minusSvg }}</v-icon>
</v-btn>
<h3 tabindex="0"
<span tabindex="0"
:aria-label="getServiceName(subService.id) + ` Anzahl: ` + appointmentCounts[subService.id]"
class="appointment-count" :key="appointmentCounts[subService.id]">
{{ appointmentCounts[subService.id] }}
</h3>
</span>
<v-btn id="button-up" ref="buttonUp" class="appointment-count-button"
:aria-label="`Anzahl der Dienstleistung erhöhen auf ` + (appointmentCounts[subService.id] + 1)"
:aria-describedby="`appointment-count-name-` + subService.id"
Expand Down

0 comments on commit ac66a9a

Please sign in to comment.