Reduce space wastage
This commit is contained in:
@@ -94,7 +94,9 @@ const get_page = async (url) => {
|
||||
v.method === "paypal" &&
|
||||
v.status === "paid" &&
|
||||
(new Date(v.createdAt)) > startDate &&
|
||||
(new Date(v.createdAt)) < endDate
|
||||
(new Date(v.createdAt)) < endDate &&
|
||||
(v.amountRefunded === undefined || v.amountRefunded.value === "0.00") &&
|
||||
(v.amountChargedBack === undefined || v.amountChargedBack.value === "0.00")
|
||||
) {
|
||||
payments.push(v)
|
||||
added++
|
||||
|
@@ -78,7 +78,7 @@ let sort = (field) => {
|
||||
<td>{peer.address}</td>
|
||||
<td>{peer.unreachable_count}</td>
|
||||
<td>{peer.load_1_min.toFixed(1)} / {peer.load_5_min.toFixed(1)} / {peer.load_15_min.toFixed(1)}</td>
|
||||
<td>{(peer.latency/1000).toPrecision(3)}</td>
|
||||
<td>{(peer.latency/1000).toFixed(3)}</td>
|
||||
<td>{formatDataVolume(peer.avg_network_tx, 3)}/s</td>
|
||||
<td>{formatDataVolume(peer.avg_network_rx, 3)}/s</td>
|
||||
<td>{peer.network_ratio.toFixed(2)}</td>
|
||||
|
@@ -18,7 +18,10 @@ export let sort_func
|
||||
|
||||
<style>
|
||||
button {
|
||||
display: block;
|
||||
margin: 0;
|
||||
line-height: 1em;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
|
@@ -444,7 +444,7 @@ const keyboard_event = evt => {
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
<CopyButton bind:this={copy_btn} text={window.location.href} style="width: calc(100% - 6px)">
|
||||
<CopyButton bind:this={copy_btn} text={window.location.href} style="width: calc(100% - 4px)">
|
||||
<u>C</u>opy link
|
||||
</CopyButton>
|
||||
|
||||
@@ -626,7 +626,7 @@ const keyboard_event = evt => {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
text-align: left;
|
||||
padding: 4px;
|
||||
padding: 2px;
|
||||
align-items: center;
|
||||
}
|
||||
@media(max-height: 600px) {
|
||||
@@ -707,7 +707,7 @@ const keyboard_event = evt => {
|
||||
.toolbar.toolbar_visible { left: 0; }
|
||||
|
||||
.toolbar_button{
|
||||
width: calc(100% - 6px);
|
||||
width: calc(100% - 4px);
|
||||
}
|
||||
.toolbar_button > span {
|
||||
vertical-align: middle;
|
||||
|
@@ -41,14 +41,10 @@ export let fs_navigator
|
||||
word-break: break-all;
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
line-height: 1em;
|
||||
}
|
||||
.node_name {
|
||||
/* This padding makes sure that characters which extend below the
|
||||
line-height do not get cut off */
|
||||
padding: 4px 2px;
|
||||
max-width: 20vw;
|
||||
overflow: hidden;
|
||||
max-width: 25vw;
|
||||
overflow-x: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
@@ -223,7 +223,7 @@ const update_css = path => document.documentElement.style = branding_from_path(p
|
||||
flex-direction: row;
|
||||
text-align: left;
|
||||
box-shadow: none;
|
||||
padding: 4px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
/* File preview area (row 2) */
|
||||
|
@@ -136,7 +136,7 @@ let expand = e => {
|
||||
}
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(8em, 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(7.5em, 1fr));
|
||||
}
|
||||
.separator {
|
||||
height: 2px;
|
||||
|
@@ -367,7 +367,7 @@ is collapsed */
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding: 4px;
|
||||
padding: 2px;
|
||||
}
|
||||
.nav_bar > button {
|
||||
flex-shrink: 0;
|
||||
|
@@ -140,7 +140,7 @@ these padding divs to move it 25% up */
|
||||
.title {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
font-size: 1.2em;
|
||||
font-size: 1.1em;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
|
Reference in New Issue
Block a user