Skip to content

Commit

Permalink
Merge pull request #596 from puzzle/bug/578-scoring-styling
Browse files Browse the repository at this point in the history
fix border right if keyresult is newly loaded
  • Loading branch information
peggimann authored Nov 23, 2023
2 parents 2473dc4 + 92552b0 commit 5112a98
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
}

.scoring-detail {
width: 82%;
width: 81%;
}

.confidence-container {
width: 18%;
width: 19%;
}

.ordinal-scoring-boxes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class ScoringComponent implements OnInit, AfterViewInit, OnChanges {
}

removeStyleClass() {
let classArray: string[] = ['score-red', 'score-green', 'score-yellow', 'score-stretch'];
let classArray: string[] = ['score-red', 'score-green', 'score-yellow', 'score-stretch', 'border-right'];
for (let classToRemove of classArray) {
this.commitElement?.nativeElement.classList.remove(classToRemove);
this.targetElement?.nativeElement.classList.remove(classToRemove);
Expand Down
12 changes: 6 additions & 6 deletions frontend/src/assets/images/scoring-stars.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion frontend/src/style/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ input[type="text"] {
.stretch-div {
width: 100%;
background-image: url("./../assets/images/scoring-stars.svg");
height: 27px;
height: 21px;
margin-bottom: 6.5px;
}

@media only screen and (max-width: 420px) {
Expand Down

0 comments on commit 5112a98

Please sign in to comment.