fix menus

Menu windows have the .popup class for some reason, so change name
This commit is contained in:
2 * r + 2 * t 2025-01-15 21:14:14 +11:00
parent 751ad07e15
commit c56e136359
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ label.icon {
@include font.icon;
}
window.popup {
.popup-window {
transition: opacity 300ms linear;
opacity: 0;

View file

@ -63,7 +63,7 @@ export const convertPopupWindowProps = (props: Widget.WindowProps): Widget.Windo
? overrideProp(props.name, n => (n && props.monitor ? n + props.monitor : undefined))
: props.name,
namespace: overrideProp(props.name, n => `caelestia-${n}`),
className: overrideProp(props.className, c => `popup ${c}`),
className: overrideProp(props.className, c => `popup-window ${c}`),
onKeyPressEvent: (self, event) => {
// Close window on escape
if (event.get_keyval()[1] === Gdk.KEY_Escape) self.hide();