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