Skip to content

Commit

Permalink
Responsive: Menu Bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ltouroumov committed Sep 10, 2024
1 parent 0f80e5c commit 7687d75
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions components/viewer/ViewScoreStatus.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<template>
<div class="d-flex gap-1" :class="{ 'flex-column': vertical }">
<div class="d-flex gap-3" :class="{ 'flex-column': vertical }">
<span
v-for="{ score, value } in activeScores"
:key="score.id"
class="d-flex score flex-row gap-2"
>
<span v-if="score.beforeText && !short">{{ score.beforeText }}</span>
<span v-if="score.beforeText && !short" class="d-none d-sm-block">
{{ score.beforeText }}
</span>
<span>{{ -value }}</span>
<span v-if="score.afterText">{{ score.afterText }}</span>
</span>
Expand Down Expand Up @@ -39,8 +41,8 @@ const activeScores = computed<{ score: PointType; value: number }[]>(() => {
)(scores);
});
</script>
<style scoped land="scss">
<style scoped lang="scss">
.score {
padding-right: 25px;
// padding-right: 25px;
}
</style>

0 comments on commit 7687d75

Please sign in to comment.