mirror of https://github.com/rancher/dashboard.git
Fix line break in % value on percentage bar component
This commit is contained in:
parent
fa3fe19385
commit
d7878c2fe9
|
|
@ -65,7 +65,7 @@ export default {
|
|||
<template>
|
||||
<span class="percentage-bar">
|
||||
<Bar :percentage="value" :primary-color="primaryColor" />
|
||||
<span v-if="showPercentage" class="ml-5">{{ formattedPercentage }}</span>
|
||||
<span v-if="showPercentage" class="ml-5 percentage-value">{{ formattedPercentage }}</span>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
|
|
@ -73,5 +73,9 @@ export default {
|
|||
.percentage-bar {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
.percentage-value {
|
||||
word-break: keep-all;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue