Skip to content

Commit

Permalink
added content-only css class
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanja Ulmen committed Oct 28, 2024
1 parent 4391c54 commit 9ac9717
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/scenario/step.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
(dragEnd)="dragEnd()"
#divider
>
<as-split-area [size]="40" class="split-area-1">
<as-split-area [size]="40" class="split-area-1" [ngClass]="{'content-only': isContentOnly}">
<ng-container *ngIf="!isBrawlSelected">
<div class="card" id="sidebar">
<div class="card-header">
Expand Down
6 changes: 6 additions & 0 deletions src/app/scenario/step.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ table {
padding-right: 0.6rem;
}

.content-only {
margin: 0 auto;
min-width: 600px;
flex: 0 0 50% !important;
}

.split-area-2 {
overflow-y: hidden !important;
padding-left: 0.6rem;
Expand Down

0 comments on commit 9ac9717

Please sign in to comment.