diff --git a/app/globals.css b/app/globals.css index 32dec0fe..34a89add 100644 --- a/app/globals.css +++ b/app/globals.css @@ -121,8 +121,8 @@ display: flex; gap: 20px; padding: 0 10px; - min-width: 100%; - justify-content: space-between; + min-width: max-content; + /* justify-content: space-between; */ } /* diff --git a/jules-scratch/verification/verify_icons.py b/jules-scratch/verification/verify_icons.py new file mode 100644 index 00000000..57e6f167 --- /dev/null +++ b/jules-scratch/verification/verify_icons.py @@ -0,0 +1,27 @@ +from playwright.sync_api import sync_playwright + +def run(): + with sync_playwright() as p: + browser = p.chromium.launch(headless=True) + # Use a mobile viewport + context = browser.new_context(**p.devices['iPhone 11']) + page = context.new_page() + + try: + # Go to the page + page.goto("http://localhost:3000") + + # Wait for the icon bar to be visible + page.wait_for_selector('.mobile-icons-bar', timeout=10000) # 10 seconds + + # Take a screenshot + page.screenshot(path="jules-scratch/verification/verification.png") + + print("Screenshot taken successfully.") + except Exception as e: + print(f"An error occurred: {e}") + finally: + browser.close() + +if __name__ == "__main__": + run()