File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 14031403.rtg-ai-model-select {
14041404 min-width : 320px ;
14051405 max-width : 100% ;
1406- height : 36px ;
1407- padding : 0 10px ;
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 ;
14081410 font-size : 14px ;
14091411 line-height : 1.4 ;
14101412 border : 1px solid var (--rtg-border );
14111413 border-radius : 6px ;
14121414 background-color : var (--rtg-bg-input , # fff );
14131415 color : var (--rtg-text-primary );
14141416}
1415- /* WordPress .button height is 30px; make the refresh button taller so it
1416- lines up with our 36px select, and align the dashicon properly . */
1417+ /* Match the refresh button's visual height to the naturally-sized select
1418+ (~36px at 14px / 1.4 with 8px top+bottom padding) . */
14171419.rtg-ai-model-refresh-btn .button {
14181420 display : inline-flex;
14191421 align-items : center;
14201422 gap : 6px ;
1421- height : 36 px ;
1422- padding : 0 14 px ;
1423- line-height : 1 ;
1423+ padding : 8 px 14 px ;
1424+ line-height : 1.4 ;
1425+ font-size : 14 px ;
14241426}
14251427.rtg-ai-model-refresh-btn .dashicons {
14261428 width : 16px ;
You can’t perform that action at this time.
0 commit comments