Commit 375dc7b
authored
feat: show some block for context when opening action menu (#191)
Previously it was shown over the top left, which obscured useful context. I
considered positioning it below the block but it can be a long way down in some
cases. That can feel unexpected and makes it more likely that the menu is
repositioned to keep it on screen.
Mentioned on #184 (comment)
This is a less arbitrary version of the offset I had in "Demo A" (that just
used 50px which looked fine for zelos styling but not great in geras).1 parent 19fed27 commit 375dc7b
File tree
1 file changed
+16
-3
lines changed- src
1 file changed
+16
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1406 | 1406 | | |
1407 | 1407 | | |
1408 | 1408 | | |
1409 | | - | |
| 1409 | + | |
1410 | 1410 | | |
1411 | 1411 | | |
1412 | 1412 | | |
1413 | 1413 | | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
1414 | 1427 | | |
1415 | 1428 | | |
1416 | | - | |
1417 | | - | |
| 1429 | + | |
| 1430 | + | |
1418 | 1431 | | |
1419 | 1432 | | |
0 commit comments