Skip to content

Commit

Permalink
Merge branch 'Abdenasser:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Burhanverse authored Nov 8, 2024
2 parents 3b845be + ce69f52 commit 1047253
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
1 change: 1 addition & 0 deletions src/lib/components/StatsBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -452,5 +452,6 @@
.stat-panel:nth-child(4),
.stat-panel:nth-child(5) {
flex: 0.8; /* Storage, System, and Network: less space */
min-width: 125px;
}
</style>
1 change: 0 additions & 1 deletion src/lib/components/ThemeSwitcher.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
style:background={$themeStore.colors.green}
></div>
</div>
{$themeStore.label}
</div>
<span class="icon">{showMenu ? "" : ""}</span>
</button>
Expand Down
25 changes: 11 additions & 14 deletions src/lib/components/ToolBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,11 @@
<div class="search-box">
<div class="search-input-wrapper">
<input
type="text"
type="search"
placeholder="Search processes"
bind:value={searchTerm}
class="search-input"
/>
{#if searchTerm}
<button
class="btn-clear"
on:click={() => (searchTerm = "")}
title="Clear search"
>
Clear
</button>
{/if}
</div>
</div>
<div class="toolbar-group">
Expand Down Expand Up @@ -98,10 +89,10 @@
>
«
</button>
<span class="page-info">
Page {currentPage} of {totalPages}
<div class="page-info">
<span>Page {currentPage} of {totalPages}</span>
<span class="results-info">({totalResults} processes)</span>
</span>
</div>
<button
class="btn-page"
disabled={currentPage === totalPages}
Expand All @@ -118,6 +109,7 @@
</button>
</div>
</div>
<div class="toolbar-spacer"></div>

<div class="column-toggle">
<button
Expand Down Expand Up @@ -306,8 +298,13 @@
font-size: 12px;
color: var(--subtext0);
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.page-info span {
display: block;
}
.results-info {
Expand Down

0 comments on commit 1047253

Please sign in to comment.