Skip to content

IS-11076 Simplify submit button CSS selector and fix outline button c…#73

Merged
urre merged 2 commits intodevfrom
feat/dev/IS-11076-adjust-css-selector-for-submit-buttons-without-proper-variants
Mar 10, 2026
Merged

IS-11076 Simplify submit button CSS selector and fix outline button c…#73
urre merged 2 commits intodevfrom
feat/dev/IS-11076-adjust-css-selector-for-submit-buttons-without-proper-variants

Conversation

@urre
Copy link
Copy Markdown
Collaborator

@urre urre commented Mar 6, 2026

This PR fixes the selector for buttons in templates that have non-complete button variant classes. It also fixes the label color on outlined buttons that are submit buttons.

Copilot AI review requested due to automatic review settings March 6, 2026 11:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates shared button styles to better handle submit buttons that don’t have a complete “variant” class set, and to avoid forcing incorrect text color on outlined submit buttons.

Changes:

  • Simplifies the submit-button selector using :where() and a shorter exclusion list.
  • Adjusts text color behavior to avoid applying color: white to outline variants.
  • Adds width: 100% styling to a.button.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@urre urre requested a review from markoweb March 9, 2026 07:23
@urre urre merged commit 1bcd0bb into dev Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants