@@ -90,22 +90,22 @@ export default function YoastComboBox( { id, value, label, onChange, onQueryChan
90
90
< Combobox . Button
91
91
data-id = { `button-${ id } ` }
92
92
role = "button"
93
- className = "yst-w-full yst-h-full yst-rounded-md yst-border yst-border-slate-300 yst-flex yst-items-center yst-rounded-r-md yst-pl -3 yst-pr -2 focus-within:yst-border-primary-500 focus-within:yst-outline-none focus-within:yst-ring-1 focus-within:yst-ring-primary-500"
93
+ className = "yst-w-full yst-h-full yst-rounded-md yst-border yst-border-slate-300 yst-flex yst-items-center yst-rounded-r-md yst-ps -3 yst-pe -2 focus-within:yst-border-primary-500 focus-within:yst-outline-none focus-within:yst-ring-1 focus-within:yst-ring-primary-500"
94
94
as = "div"
95
95
>
96
96
< Combobox . Input
97
97
data-id = { `input-${ id } ` }
98
- className = "yst-w-full yst-text-slate-700 yst-rounded-md yst-border-0 yst-outline-none yst-bg-white yst-py-2 yst-pl -0 yst-pr -10 yst-shadow-none sm:yst-text-sm"
98
+ className = "yst-w-full yst-text-slate-700 yst-rounded-md yst-border-0 yst-outline-none yst-bg-white yst-py-2 yst-ps -0 yst-pe -10 yst-shadow-none sm:yst-text-sm"
99
99
onChange = { handleInputChange }
100
100
displayValue = { getDisplayValue }
101
101
placeholder = { placeholder }
102
102
onClick = { stopEventPropagation ( open ) }
103
103
/>
104
- < SelectorIcon className = "yst-h-5 yst-w-5 yst-text-slate-400 yst-inset-y-0 yst-right -0" aria-hidden = "true" />
104
+ < SelectorIcon className = "yst-h-5 yst-w-5 yst-text-slate-400 yst-inset-y-0 yst-end -0" aria-hidden = "true" />
105
105
</ Combobox . Button >
106
106
{ ( filteredOptions . length > 0 ) && (
107
107
< Combobox . Options className = "yst-absolute yst-z-10 yst-mt-1 yst-max-h-60 yst-w-full yst-overflow-auto yst-rounded-md yst-bg-white yst-text-base yst-shadow-lg yst-ring-1 yst-ring-black yst-ring-opacity-5 focus:yst-outline-none sm:yst-text-sm" >
108
- { isLoading && < div className = "yst-flex yst-bg-white yst-sticky yst-z-20 yst-text-sm yst-italic yst-top-0 yst-py-2 yst-pl -3 yst-pr -9 yst-my-0" > < Spinner className = "yst-text-primary-500 yst-h-4 yst-w-4 yst-mr -2 yst-self-center" /> { __ ( "Loading..." , "wordpress-seo" ) } </ div > }
108
+ { isLoading && < div className = "yst-flex yst-bg-white yst-sticky yst-z-20 yst-text-sm yst-italic yst-top-0 yst-py-2 yst-ps -3 yst-pe -9 yst-my-0" > < Spinner className = "yst-text-primary-500 yst-h-4 yst-w-4 yst-me -2 yst-self-center" /> { __ ( "Loading..." , "wordpress-seo" ) } </ div > }
109
109
{ filteredOptions . map ( ( option ) => (
110
110
< Combobox . Option
111
111
key = { `yst-option-${ option . value } ` }
@@ -117,7 +117,7 @@ export default function YoastComboBox( { id, value, label, onChange, onQueryChan
117
117
< span className = { classNames ( "yst-block yst-truncate" , ( selected || value . value === option . value ) && "yst-font-semibold" ) } > { option . label } </ span >
118
118
{ ( selected || value . value === option . value ) && (
119
119
< span
120
- className = { "yst-absolute yst-inset-y-0 yst-right -0 yst-flex yst-items-center yst-pr -4 yst-text-white" }
120
+ className = { "yst-absolute yst-inset-y-0 yst-end -0 yst-flex yst-items-center yst-pe -4 yst-text-white" }
121
121
>
122
122
< CheckIcon className = "yst-h-5 yst-w-5" aria-hidden = "true" />
123
123
</ span >
0 commit comments