Commit 846e13b
Fix: AI model select text still clipping — specificity bump
My .rtg-ai-model-select class (0,1,0) was losing to the generic
.rtg-wrap select rule (0,1,1) which already ships working padding,
font-size, and line-height for every other select in the admin. My
attempts to re-specify padding/line-height were either ignored due to
specificity, or applied only partially and caused the glyph clip.
Fix: pair the class with the element selector to win on specificity
(.rtg-wrap select.rtg-ai-model-select, 0,1,2) and ONLY override what
this row actually needs — width-related properties. Let the base
.rtg-wrap select rule handle all text rendering, which works correctly
everywhere else.
Refresh button padding bumped to 10px to match the taller WP-styled
select.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8623b93 commit 846e13b
2 files changed
Lines changed: 11 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1400 | 1400 | | |
1401 | 1401 | | |
1402 | 1402 | | |
1403 | | - | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
1404 | 1408 | | |
1405 | 1409 | | |
1406 | | - | |
1407 | | - | |
1408 | | - | |
1409 | | - | |
1410 | | - | |
1411 | | - | |
1412 | | - | |
1413 | | - | |
1414 | | - | |
1415 | | - | |
| 1410 | + | |
1416 | 1411 | | |
1417 | | - | |
1418 | | - | |
| 1412 | + | |
| 1413 | + | |
1419 | 1414 | | |
1420 | 1415 | | |
1421 | 1416 | | |
1422 | 1417 | | |
1423 | | - | |
1424 | | - | |
| 1418 | + | |
1425 | 1419 | | |
| 1420 | + | |
1426 | 1421 | | |
1427 | 1422 | | |
1428 | 1423 | | |
| |||
0 commit comments