Add right-aligned score state text to single score bar pattern
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
<div class="sg-score-bar__value sg-score-bar__value--positive sg-score-bar__value--w96" data-component-part="score-value" data-component-state="positive"></div>
|
||||
<div class="sg-score-bar__median-marker" data-component-part="score-median-marker"></div>
|
||||
</div>
|
||||
<p class="sg-strong" data-component-part="score-state">attraktiv</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+7
-1
@@ -2230,7 +2230,13 @@ section + section {
|
||||
}
|
||||
|
||||
#pattern-gesamtscore-balken .sg-score-bar-item {
|
||||
grid-template-columns: max-content 1fr;
|
||||
grid-template-columns: max-content 1fr max-content;
|
||||
}
|
||||
|
||||
#pattern-gesamtscore-balken [data-component-part="score-state"] {
|
||||
margin: 0;
|
||||
justify-self: end;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.sg-score-bar-label {
|
||||
|
||||
Reference in New Issue
Block a user