mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2025-10-10 21:01:54 +05:30
feat: update style
This commit is contained in:
@@ -8,7 +8,7 @@ import { Network } from "./network";
|
||||
export const WINDOW_NAME = "bar";
|
||||
|
||||
export const Bar = (gdkmonitor: Gdk.Monitor) => {
|
||||
const { TOP } = Astal.WindowAnchor;
|
||||
const { TOP, LEFT, RIGHT } = Astal.WindowAnchor;
|
||||
|
||||
return (
|
||||
<window
|
||||
@@ -17,7 +17,7 @@ export const Bar = (gdkmonitor: Gdk.Monitor) => {
|
||||
cssClasses={["Bar"]}
|
||||
gdkmonitor={gdkmonitor}
|
||||
exclusivity={Astal.Exclusivity.EXCLUSIVE}
|
||||
anchor={TOP}
|
||||
anchor={TOP | LEFT | RIGHT}
|
||||
application={App}
|
||||
>
|
||||
<centerbox>
|
||||
|
@@ -4,10 +4,7 @@
|
||||
window.Bar {
|
||||
background: $bg-color;
|
||||
color: $fg-color;
|
||||
margin: 5px;
|
||||
border-radius: $rounded;
|
||||
padding: 10px;
|
||||
min-width: 100rem;
|
||||
|
||||
.launcher {
|
||||
background-color: $inactive-color;
|
||||
|
Reference in New Issue
Block a user