Skip to content

Commit

Permalink
added content-only css class (hobbyfarm#212)
Browse files Browse the repository at this point in the history
* added content-only css class

* fix - prettier formatting

---------

Co-authored-by: Tanja Ulmen <[email protected]>
  • Loading branch information
tanemlu and Tanja Ulmen authored Oct 28, 2024
1 parent 4391c54 commit cf862e3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/scenario/step.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
(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 cf862e3

Please sign in to comment.