fix(ags/bar): styling
This commit is contained in:
parent
5b073fa9d6
commit
8c8e112249
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
window.bar {
|
window.bar {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
||||||
>box {
|
>box {
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
@ -11,7 +11,7 @@ window.bar {
|
|||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
background: $base00;
|
background: $base00;
|
||||||
padding: 0rem 1rem;
|
padding: 0.1rem 1rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
||||||
*:not(.separator) { color: $base0B; }
|
*:not(.separator) { color: $base0B; }
|
||||||
|
@ -74,4 +74,4 @@ export default function NetworkInfo() {
|
|||||||
TX: {dataBinding.as(data => toHumanReadable(data.totalTx / 4, "B/s"))}
|
TX: {dataBinding.as(data => toHumanReadable(data.totalTx / 4, "B/s"))}
|
||||||
RX: {dataBinding.as(data => toHumanReadable(data.totalRx / 4, "B/s"))}
|
RX: {dataBinding.as(data => toHumanReadable(data.totalRx / 4, "B/s"))}
|
||||||
</box> : <label>No network</label>
|
</box> : <label>No network</label>
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,7 @@ async function getClipboardHistory(history: Variable<Entry[]>) {
|
|||||||
history.set(ids
|
history.set(ids
|
||||||
.map((id, index) => ({ id, content: contents[index] }))
|
.map((id, index) => ({ id, content: contents[index] }))
|
||||||
.filter(({ content }) => content && content.length > 0));
|
.filter(({ content }) => content && content.length > 0));
|
||||||
} catch (rer){
|
} catch {
|
||||||
console.error(rer)
|
|
||||||
history.set([]);
|
history.set([]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user