Skip to content

Commit

Permalink
Merge pull request #479 from adessoSE/Backround-upgrade
Browse files Browse the repository at this point in the history
fixed Background
  • Loading branch information
nkarmazina authored Oct 28, 2023
2 parents 89696e9 + 12a8336 commit 8e5081d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions frontend/src/app/story-editor/story-editor.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,12 @@
:host ::ng-deep .uk-nav > li > .dropdownStep {
color: var(--ocean-blue);
}
.uk-drop.uk-dropdown.uk-open{
top: 40px !important;
left: 400px !important;
}

.uk-drop.uk-dropdown.uk-open{
display: block !important;
position: absolute !important;
top: 10px !important;
}
/* :host ::ng-deep .darkTheme .uk-nav > li > .dropdownStep {
color: var(--light-blue);
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/story-editor/story-editor.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export class StoryEditorComponent implements OnInit, OnDestroy{
const loadingScreen = document.getElementById('loading');
loadingScreen.scrollIntoView();
}
if (this.selectedStory !== undefined){
if (this.selectedStory !== undefined && this.stories && this.blocks){
this.storeCurrentBackground(this.selectedStory.background);
this.backgrounds = this.stories.filter((s) => s !== null).map((s) => s.background);
this.blockAsBackground = [];
Expand Down

0 comments on commit 8e5081d

Please sign in to comment.