Skip to content
Snippets Groups Projects
Commit fc9c6f89 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch '897-cosmetic-regression-on-ratio-in-library-page' into 'develop'

Resolve "Cosmetic regression on ratio in library page"

Closes #897

See merge request !860
parents c836f9b0 644eaf48
No related branches found
No related tags found
No related merge requests found
Fix regression to quota bar color (#897)
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div v-if="isLoading" :class="['ui', {'active': isLoading}, 'inverted', 'dimmer']"> <div v-if="isLoading" :class="['ui', {'active': isLoading}, 'inverted', 'dimmer']">
<div class="ui text loader"><translate translate-context="Content/Library/Paragraph">Loading usage data…</translate></div> <div class="ui text loader"><translate translate-context="Content/Library/Paragraph">Loading usage data…</translate></div>
</div> </div>
<div :class="['ui', {'success': progress < 60}, {'yellow': progress >= 60 && progress < 96}, {'error': progress >= 95}, 'progress']"> <div :class="['ui', {'success': progress < 60}, {'yellow': progress >= 60 && progress < 96}, {'error': progress >= 95}, 'progress']" data-percent=progress>
<div class="bar" :style="{width: `${progress}%`}"> <div class="bar" :style="{width: `${progress}%`}">
<div class="progress">{{ progress }}%</div> <div class="progress">{{ progress }}%</div>
</div> </div>
...@@ -154,4 +154,4 @@ export default { ...@@ -154,4 +154,4 @@ export default {
} }
} }
} }
</script> </script>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment