Skip to content

Commit

Permalink
fix: fixed dbx-two-column-right styling
Browse files Browse the repository at this point in the history
- fixed issue where "block" was being used as the default display type, causing content to not be centered vertically by default
  • Loading branch information
dereekb committed Aug 23, 2022
1 parent 5ce3a5f commit 501dc7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<dbx-two-column-head [block]="true" [full]="true">
<dbx-two-column-head [block]="block" [full]="true">
<!-- Back Buttons -->
<ng-container *ngIf="showBack$ | async">
<button mat-icon-button class="back-button" (click)="backClicked()" aria-label="back button">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ export class DbxTwoColumnRightComponent implements AfterViewInit, OnDestroy {
@Input()
header?: string;

@Input()
block?: boolean;

private _showBack = new BehaviorSubject<boolean>(true);

readonly ref$: Observable<Maybe<ClickableAnchor>> = this.twoColumnsContextStore.backRef$;
Expand Down

0 comments on commit 501dc7e

Please sign in to comment.