mirror of
https://github.com/kunkunsh/kunkun-ext-neohtop.git
synced 2025-04-11 17:29:45 +00:00
Merge pull request #54 from phillipthelen/smaller-screens
Improve support for smaller screens
This commit is contained in:
commit
ce69f52fad
@ -452,5 +452,6 @@
|
|||||||
.stat-panel:nth-child(4),
|
.stat-panel:nth-child(4),
|
||||||
.stat-panel:nth-child(5) {
|
.stat-panel:nth-child(5) {
|
||||||
flex: 0.8; /* Storage, System, and Network: less space */
|
flex: 0.8; /* Storage, System, and Network: less space */
|
||||||
|
min-width: 125px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -64,7 +64,6 @@
|
|||||||
style:background={$themeStore.colors.green}
|
style:background={$themeStore.colors.green}
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
{$themeStore.label}
|
|
||||||
</div>
|
</div>
|
||||||
<span class="icon">{showMenu ? "▼" : "▶"}</span>
|
<span class="icon">{showMenu ? "▼" : "▶"}</span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -46,20 +46,11 @@
|
|||||||
<div class="search-box">
|
<div class="search-box">
|
||||||
<div class="search-input-wrapper">
|
<div class="search-input-wrapper">
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="search"
|
||||||
placeholder="Search processes"
|
placeholder="Search processes"
|
||||||
bind:value={searchTerm}
|
bind:value={searchTerm}
|
||||||
class="search-input"
|
class="search-input"
|
||||||
/>
|
/>
|
||||||
{#if searchTerm}
|
|
||||||
<button
|
|
||||||
class="btn-clear"
|
|
||||||
on:click={() => (searchTerm = "")}
|
|
||||||
title="Clear search"
|
|
||||||
>
|
|
||||||
Clear
|
|
||||||
</button>
|
|
||||||
{/if}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="toolbar-group">
|
<div class="toolbar-group">
|
||||||
@ -98,10 +89,10 @@
|
|||||||
>
|
>
|
||||||
«
|
«
|
||||||
</button>
|
</button>
|
||||||
<span class="page-info">
|
<div class="page-info">
|
||||||
Page {currentPage} of {totalPages}
|
<span>Page {currentPage} of {totalPages}</span>
|
||||||
<span class="results-info">({totalResults} processes)</span>
|
<span class="results-info">({totalResults} processes)</span>
|
||||||
</span>
|
</div>
|
||||||
<button
|
<button
|
||||||
class="btn-page"
|
class="btn-page"
|
||||||
disabled={currentPage === totalPages}
|
disabled={currentPage === totalPages}
|
||||||
@ -118,6 +109,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="toolbar-spacer"></div>
|
||||||
|
|
||||||
<div class="column-toggle">
|
<div class="column-toggle">
|
||||||
<button
|
<button
|
||||||
@ -306,8 +298,13 @@
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: var(--subtext0);
|
color: var(--subtext0);
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-info span {
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.results-info {
|
.results-info {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user