Skip to content

Commit

Permalink
More mobile layouting
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Feb 4, 2024
1 parent 9bf7159 commit ccbb530
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class='header'>
<div class='top-line'>
<app-share-widget [color]='secondaryColor'></app-share-widget>
<div class='top-right' [style.color]='primaryColor'>
<app-share-widget [color]='secondaryColor'></app-share-widget>
<ng-content select='.category'></ng-content>
</div>
<div class='top-left' [style.color]='secondaryColor'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,30 @@

.top-line {
width: 100%;
height: 32px;
min-height: 32px;

padding: 4px 0;
padding-right: 14px;
padding-left: 8px;

display: flex;
flex-flow: row wrap;
align-items: center;

app-share-widget {
margin-left: 8px;
}

.top-right {
.font-abraham;
font-size: 13px;
font-weight: 400;
line-height: normal;

display: flex;
flex-flow: row;
flex-flow: row wrap;
align-items: center;

app-share-widget {
margin-left: 8px;
}

::ng-deep {
strong {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<app-container [showHeader]="true" [showSearchBar]="true" [listSideView]='true'>
<app-container [showHeader]="true" [showSearchBar]="true" [listSideView]='true' [showShare]="false">
<div #container class="budgetkey-item-wrapper container-fluid" [ngClass]="'style-' + style" *ngIf='init'>
<div class='item-container'>
<app-item-budget0dig *ngIf='prefix("budget/00/")' [item]='item'></app-item-budget0dig>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
::ng-deep {
.top-right {
app-item-link a, strong {
white-space: nowrap;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<app-bk-header *ngIf="showHeader"
[showSearchBar]="showSearchBar"
[showLanguages]="showLanguages"
[showShare]="showShare"
></app-bk-header>
<div class='scrollable'>
<div class='app'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export class AppContainerComponent implements AfterViewInit, OnChanges {
@Input() showFooter = true;
@Input() showSearchBar = false;
@Input() showLanguages = false;
@Input() showShare = true;
@Input() helpWidget = true;
@Input() listSideView = false;

Expand Down

0 comments on commit ccbb530

Please sign in to comment.