Skip to content

Commit

Permalink
[qa] Remove special whitespace in favor of css rules
Browse files Browse the repository at this point in the history
  • Loading branch information
frankrousseau committed Jun 6, 2024
1 parent faa5743 commit 4728231
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/components/pages/ProductionNewsFeed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,13 @@
>
<span
class="stat-tag"
:title="stat.name + ': ' + stat.value"
:title="stat.name + ': ' + stat.value"
:style="{
background: stat.color,
width: (stat.value / statMax) * 100 + '%'
}"
>
<div class="stat-text">{{ stat.name }} : {{ stat.value }}</div>
<div class="stat-text">{{ stat.name }} : {{ stat.value }}</div>
</span>
</div>
</div>
Expand Down Expand Up @@ -1017,6 +1017,7 @@ export default {
margin-top: 3px;
color: $black;
border-radius: 6px;
white-space: nowrap;
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/components/widgets/StatusStats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
width: (stat.value / statMax) * 100 + '%'
}"
>
<span class="stat-text">{{ stat.name }} : {{ stat.value }}</span>
<span class="stat-text">{{ stat.name }} : {{ stat.value }}</span>
</div>
</div>
</div>
Expand Down Expand Up @@ -72,6 +72,7 @@ export default {
margin-top: 3px;
color: $black;
border-radius: 6px;
white-space: nowrap;
}
}
</style>

0 comments on commit 4728231

Please sign in to comment.