Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: padding around 'Select a tab' label in mobile view (#10150) (#10191
Browse files Browse the repository at this point in the history
)

* added padding to the select a tab label

* added padding to the select a tab label

* added padding to the select a tab label

* style: reorder utility classes for improved readability

* rearranged class names according to tailwind's recommended order

applied prettier tailwind CSS plugin for class sorting
  • Loading branch information
eugene4545 committed Mar 22, 2024
1 parent 4eefc28 commit c8e2bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/event/EventTabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function EventTabs({ tabs, eventType, onEventTypeChange }) {
label="Select a tab"
value={tabs.find((tab) => tab.key === eventType)?.title}
onChange={(e) => changeTab(e)}
className="block w-full rounded-md border-primary-medium-low dark:bg-primary-medium dark:focus:border-secondary-low dark:focus:ring-secondary-low focus:border-secondary-low focus:ring-secondary-low"
className="mb-2 block w-full rounded-md border-primary-medium-low px-3 py-1 focus:border-secondary-low focus:ring-secondary-low dark:bg-primary-medium dark:focus:border-secondary-low dark:focus:ring-secondary-low"
options={tabs.map((tab) => ({ label: tab.title, value: tab.title }))}
/>
</div>
Expand Down

0 comments on commit c8e2bcf

Please sign in to comment.