fix: keep Makelore branding first in the sidebar
This commit is contained in:
1 parent
1329d23921
commit
ae646f6c7b
4 files changed
+19
-10
No files matched your search
@@ -90,7 +90,8 @@ test.describe('Makelore module navigation without setup flow', () => {
|
||||
expect(brandBox).not.toBeNull();
|
||||
expect(returnBox).not.toBeNull();
|
||||
expect(collapseBox).not.toBeNull();
|
||||
expect(returnBox!.y + returnBox!.height).toBeLessThanOrEqual(brandBox!.y);
|
||||
expect(returnBox!.y).toBeGreaterThanOrEqual(brandBox!.y + brandBox!.height);
|
||||
expect(brandBox!.y - sidebarBox!.y).toBeLessThanOrEqual(8);
|
||||
expect(Math.abs(returnBox!.y + returnBox!.height / 2 - collapseBox!.y - collapseBox!.height / 2)).toBeLessThan(1);
|
||||
expect(returnBox!.x + returnBox!.width).toBeLessThanOrEqual(collapseBox!.x);
|
||||
expect(sidebarBox!.x + sidebarBox!.width - collapseBox!.x - collapseBox!.width).toBeLessThanOrEqual(14);
|
||||
|
||||
Reference in new issue
Block a user