Skip to content

Commit

Permalink
Minor UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
everoddandeven committed Feb 14, 2025
1 parent 158509f commit 1a5a519
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/pages/base-page/base-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export abstract class BasePageComponent implements AfterContentInit, OnDestroy {
}

public updateTablesContentHeight(): void {

this.updateTableContentHeight('pills-tabContent');
}

protected setLinks(links: NavbarLink[] = []): void {
Expand Down
5 changes: 3 additions & 2 deletions src/app/pages/logs/logs.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,9 @@ export class LogsComponent extends BasePageComponent implements AfterViewInit, A
}

public override updateTablesContentHeight(): void {
this.updateTableContentHeight('monerod-log-table');
this.updateTableContentHeight('i2pd-log-table');
super.updateTablesContentHeight();
//this.updateTableContentHeight('monerod-log-table');
//this.updateTableContentHeight('i2pd-log-table');
}

public scrollTablesContentToBottom(): void {
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/settings/settings.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1 class="h2">Settings</h1>
</div>
</div>

<div *ngIf="!loading" class="tab-content tab-grow" id="pills-settings-tabContent">
<div *ngIf="!loading" class="tab-content tab-grow" id="pills-tabContent">
<div *ngIf="savingChangesError !== ''" class="alert alert-danger d-flex align-items-center justify-content-center text-center" role="alert">
<h4><i class="bi bi-exclamation-triangle m-2"></i></h4>&nbsp;&nbsp;
<div>
Expand Down
1 change: 1 addition & 0 deletions src/app/pages/settings/settings.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ export class SettingsComponent extends BasePageComponent implements AfterViewIni
this.refreshTorTxProxy();
this.refreshI2pAnonymousInbound();
this.refreshI2pTxProxy();
this.updateTablesContentHeight();
}

private loadTables(): void {
Expand Down

0 comments on commit 1a5a519

Please sign in to comment.