diff --git a/doc/rating/pt/PTDoc.vue b/doc/rating/pt/PTDoc.vue index 65503ac6c..acdbe9ed7 100644 --- a/doc/rating/pt/PTDoc.vue +++ b/doc/rating/pt/PTDoc.vue @@ -4,9 +4,7 @@ @@ -23,9 +21,7 @@ export default { `, options: ` @@ -34,9 +30,7 @@ export default { @@ -57,9 +51,7 @@ export default { diff --git a/doc/selectbutton/pt/PTDoc.vue b/doc/selectbutton/pt/PTDoc.vue index e0e81805c..9f40b32bd 100644 --- a/doc/selectbutton/pt/PTDoc.vue +++ b/doc/selectbutton/pt/PTDoc.vue @@ -6,8 +6,8 @@ :options="options" aria-labelledby="basic" :pt="{ - label: ({ state }) => ({ - class: state.focusedIndex === 1 ? 'text-blue-300' : undefined + button: ({ context }) => ({ + class: context.active ? 'bg-cyan-400 border-cyan-400' : undefined }) }" /> @@ -28,10 +28,11 @@ export default { :options="options" aria-labelledby="basic" :pt="{ - label: ({ state }) => ({ - class: state.focusedIndex === 1 ? 'text-blue-300' : undefined + button: ({ context }) => ({ + class: context.active ? 'bg-cyan-400 border-cyan-400' : undefined }) - }"/>`, + }" +/>`, options: `