Skip to content

Commit cb8e65d

Browse files
authored
Merge pull request #126 from RivianTrackr/claude/ai-tire-recommendations-fzXNi
Force flex layout with inline styles to prevent theme overrides
2 parents 8595d55 + 4d651fa commit cb8e65d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/templates/tire-guide.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
<div class="filter-body">
1616
<?php if ( RTG_AI::is_enabled() ) : ?>
1717
<div id="rtgAiWrapper" class="rtg-ai-section">
18-
<div class="rtg-ai-row">
19-
<div class="search-container">
18+
<div class="rtg-ai-row" style="display: flex !important; align-items: center !important; gap: 8px !important;">
19+
<div class="search-container" style="flex: 1 !important; min-width: 0 !important;">
2020
<label for="rtgAiInput" class="screen-reader-text">Ask AI for tire recommendations</label>
2121
<input id="rtgAiInput" type="text" class="search-input rtg-ai-input" placeholder="AI: &quot;Best winter tire for 20 inch wheels&quot;" maxlength="500" aria-label="Ask AI for tire recommendations" />
2222
<i class="fa-solid fa-wand-magic-sparkles search-icon rtg-ai-icon" aria-hidden="true"></i>
2323
</div>
24-
<button id="rtgAiSubmit" class="rtg-ai-submit" type="button" aria-label="Get AI recommendations">
24+
<button id="rtgAiSubmit" class="rtg-ai-submit" type="button" aria-label="Get AI recommendations" style="flex-shrink: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; width: 44px !important; height: 44px !important; min-width: 44px !important; padding: 0 !important; margin: 0 !important; position: static !important; transform: none !important;">
2525
<i class="fa-solid fa-arrow-right" aria-hidden="true"></i>
2626
</button>
2727
</div>

0 commit comments

Comments
 (0)