sidebar doesn't reduce height when new notifs come in
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 12s
Python / lint-format (pull_request) Successful in 18s
Python / test (pull_request) Successful in 28s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m14s

This commit is contained in:
2026-06-17 21:49:52 +02:00
parent 2cb4d9b739
commit fbadcbb717
5 changed files with 115 additions and 106 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ Item {
id: layout
anchors.fill: parent
spacing: 8
spacing: Appearance.spacing.small
CustomRect {
Layout.fillHeight: true
@@ -29,7 +29,7 @@ Item {
CustomRect {
Layout.fillWidth: true
Layout.topMargin: 8 - layout.spacing
Layout.topMargin: Appearance.padding.normal - layout.spacing
color: DynamicColors.tPalette.m3outlineVariant
implicitHeight: 1
}
+2 -2
View File
@@ -17,7 +17,7 @@ Item {
required property var visibilities
anchors.fill: parent
anchors.margins: 8
anchors.margins: Appearance.padding.normal
Component.onCompleted: NotifServer.list.forEach(n => n.popup = false)
@@ -156,7 +156,7 @@ Item {
Loader {
active: opacity > 0
anchors.bottom: parent.bottom
anchors.margins: 8
anchors.margins: Appearance.padding.normal
anchors.right: parent.right
opacity: root.notifCount > 0 ? 1 : 0
scale: root.notifCount > 0 ? 1 : 0.5