Fix inline rendering of rating display (#12741)

Fixes #12733
This commit is contained in:
Rijk van Zanten
2022-04-13 14:36:23 -04:00
committed by GitHub
parent d2a311b20e
commit 8f40973168

View File

@@ -48,7 +48,7 @@ const ratingPercentage = computed(() => ({
<style lang="scss" scoped>
.rating {
&.simple {
display: flex;
display: inline-flex;
align-items: center;
padding: 2px 6px 2px 4px;
color: #ffc107;
@@ -68,7 +68,7 @@ const ratingPercentage = computed(() => ({
.active {
position: relative;
z-index: 2;
display: flex;
display: inline-flex;
width: 0%;
overflow: hidden;
color: #ffc107;
@@ -79,7 +79,7 @@ const ratingPercentage = computed(() => ({
top: 0;
left: 0;
z-index: 1;
display: flex;
display: inline-flex;
color: var(--background-normal);
}
}