File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 14001400 gap : 10px ;
14011401 margin-top : 4px ;
14021402}
1403- .rtg-ai-model-select {
1403+ /* Override the generic `.rtg-wrap select` rule above (specificity 0,1,1)
1404+ by pairing the class with the element selector (0,1,2). Don't try to
1405+ re-do the padding/line-height — the generic rule already renders fine
1406+ on every other select in the admin. We only need to widen it. */
1407+ .rtg-wrap select .rtg-ai-model-select {
14041408 min-width : 320px ;
14051409 max-width : 100% ;
1406- /* Let the browser compute height from font + padding so text centers
1407- reliably across Chrome / Safari / Firefox. Fixed `height` + `line-height`
1408- on a <select> clips the glyph descenders on some platforms. */
1409- padding : 8px 10px ;
1410- font-size : 14px ;
1411- line-height : 1.4 ;
1412- border : 1px solid var (--rtg-border );
1413- border-radius : 6px ;
1414- background-color : var (--rtg-bg-input , # fff );
1415- color : var (--rtg-text-primary );
1410+ width : auto;
14161411}
1417- /* Match the refresh button's visual height to the naturally-sized select
1418- (~36px at 14px / 1.4 with 8px top+bottom padding ). */
1412+ /* Match the refresh button's visual rhythm to the WP admin select
1413+ (padding: 10px 12px, font-size: 15px, line-height: default ). */
14191414.rtg-ai-model-refresh-btn .button {
14201415 display : inline-flex;
14211416 align-items : center;
14221417 gap : 6px ;
1423- padding : 8px 14px ;
1424- line-height : 1.4 ;
1418+ padding : 10px 14px ;
14251419 font-size : 14px ;
1420+ height : auto;
14261421}
14271422.rtg-ai-model-refresh-btn .dashicons {
14281423 width : 16px ;
You can’t perform that action at this time.
0 commit comments