Fix Tailwind CSS styling configuration

- Add tailwind.config.ts with proper content paths and theme config
- Add postcss.config.js for Tailwind and autoprefixer processing
- Downgrade tailwindcss to v3.4.17 and add missing PostCSS dependencies
- Update Dockerfile to clarify build process
- Fix UI styling issues in Docker environment
This commit is contained in:
mindesbunister
2025-07-12 23:29:42 +02:00
parent cf58d41444
commit a9bbcc7b5f
22 changed files with 3833 additions and 1020 deletions

View File

@@ -196,7 +196,10 @@ export class TradingViewCapture {
if (emailButton.asElement()) {
console.log('Found email login button, clicking...')
await emailButton.asElement()?.click()
const elementHandle = emailButton.asElement() as any
if (elementHandle) {
await elementHandle.click()
}
await new Promise(res => setTimeout(res, 2000))
await this.debugScreenshot('login_04b_after_email_button', page)
@@ -233,7 +236,7 @@ export class TradingViewCapture {
const text = btn.textContent?.toLowerCase() || ''
return text.includes('sign in') || text.includes('login') || text.includes('submit')
})
}).then(handle => handle.asElement())
}).then(handle => handle.asElement()) as any
}
if (!signInButton) {