Fixed visual regression in email preview#22666
Conversation
No ref - The From, To and Subject fields were off both in terms of alignment and background color.
WalkthroughThis pull request makes several updates to both templating and styling for email preview components. In the Handlebars file, it modifies a PowerSelect component by appending an additional CSS class, which alters the appearance of newsletter and segment selection dropdowns without changing their functionality. The CSS changes adjust spacing, layout, and padding for the email preview elements as well as update text color, font weight, and width on subject elements. Additionally, the focus styles for form inputs are refined by excluding certain dropdown triggers. No changes were made to public API declarations. Possibly related PRs
Suggested labels
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it’s a critical failure. 🔧 ESLint
ghost/admin/app/styles/layouts/post-preview.cssOops! Something went wrong! :( ESLint: 8.44.0 Error: Failed to load parser '@babel/eslint-parser' declared in 'ghost/admin/.eslintrc.js': Cannot find module '@babel/eslint-parser'
ghost/admin/app/styles/patterns/forms.cssOops! Something went wrong! :( ESLint: 8.44.0 Error: Failed to load parser '@babel/eslint-parser' declared in 'ghost/admin/.eslintrc.js': Cannot find module '@babel/eslint-parser'
ghost/admin/app/styles/layouts/preview-email.cssOops! Something went wrong! :( ESLint: 8.44.0 Error: Failed to load parser '@babel/eslint-parser' declared in 'ghost/admin/.eslintrc.js': Cannot find module '@babel/eslint-parser'
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (12)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
No ref
From,ToandSubjectfields were off both in terms of alignment and background color.