Keep dropdowns right-aligned

This commit is contained in:
Joe Julian
2026-04-07 21:41:52 -07:00
parent edf0a9090d
commit b33f4905ab
2 changed files with 17 additions and 8 deletions
+11
View File
@@ -356,6 +356,17 @@ func TestUIMainMenuAnchorsMatchAcrossModes(t *testing.T) {
}
}
func TestAnchoredMenuXAllowsWiderMenusToExtendLeft(t *testing.T) {
t.Parallel()
if got := anchoredMenuX(48, 160); got != -112 {
t.Fatalf("anchoredMenuX(48, 160) = %d, want -112", got)
}
if got := anchoredMenuX(160, 48); got != 112 {
t.Fatalf("anchoredMenuX(160, 48) = %d, want 112", got)
}
}
func TestUICurrentVaultSummary(t *testing.T) {
t.Parallel()