mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-05 17:10:45 +00:00
Pass parent to context menu; keep icon scaled
This commit is contained in:
@@ -250,6 +250,7 @@ const TabApps = {
|
||||
e.stopPropagation();
|
||||
|
||||
UIContextMenu({
|
||||
parent_element: $(this),
|
||||
position: { top: e.clientY, left: e.clientX },
|
||||
items,
|
||||
});
|
||||
|
||||
@@ -733,7 +733,7 @@ body {
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
.myapps-tile:hover .myapps-tile-icon {
|
||||
.myapps-tile:hover .myapps-tile-icon, .myapps-tile.has-open-contextmenu .myapps-tile-icon{
|
||||
transform: scale(1.08);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user