Skip to content

Commit fc1d829

Browse files
committed
Fix errors post-updates
1 parent 7452268 commit fc1d829

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/features/game/dialogue/GameDialogueGenerator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default class DialogueGenerator {
1414
*/
1515
public constructor(dialogueContent: DialogueObject) {
1616
this.dialogueContent = dialogueContent;
17-
this.currPart = dialogueContent.keys().next().value;
17+
this.currPart = dialogueContent.keys().next().value || '';
1818
this.currLineNum = 0;
1919
}
2020

src/styles/_achievementdashboard.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,7 @@
284284

285285
.dropdown-lines {
286286
height: $top-spacing + $card-height + $remaining-width + $line-extension;
287-
margin: -#{math.div($card-height, 1.6)} -#{$line-width + $remaining-width} 0
288-
$line-width;
287+
margin: -#{math.div($card-height, 1.6)} -#{$line-width + $remaining-width} 0 $line-width;
289288
min-width: $line-width;
290289
}
291290

@@ -591,8 +590,7 @@
591590

592591
.dropdown-lines {
593592
height: $top-spacing + $card-height + $remaining-width + $line-extension;
594-
margin: -#{math.div($card-height, 1.6)} -#{$line-width + $remaining-width} 0
595-
$line-width;
593+
margin: -#{math.div($card-height, 1.6)} -#{$line-width + $remaining-width} 0 $line-width;
596594
min-width: $line-width;
597595
}
598596

@@ -629,7 +627,7 @@
629627
color: white;
630628
display: flex;
631629
flex-direction: column;
632-
height: $view-height / 3;
630+
height: calc($view-height / 3);
633631
justify-content: center;
634632
margin: 1em auto;
635633
width: $view-width;

0 commit comments

Comments
 (0)