-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
An empty tab will fill the space so you can add one in the beginning and one at the end to push the tabs to center: <div role="tablist" class="tabs tabs-bordered">
+ <span class="tab"></span>
<a role="tab" class="tab">Tab 1</a>
<a role="tab" class="tab tab-active">Tab 2</a>
<a role="tab" class="tab">Tab 3</a>
+ <span class="tab"></span>
</div> Let me know if you have a question. |
Beta Was this translation helpful? Give feedback.
-
Hi! Any comments how to fix too big left indention if add an empty tab in the beggingin? |
Beta Was this translation helpful? Give feedback.
-
Oh. In that case if you're using radio inputs it gets a little bit tricky. That's not something we implemented yet. But you can use a hacky class like this: |
Beta Was this translation helpful? Give feedback.
Oh. In that case if you're using radio inputs it gets a little bit tricky. That's not something we implemented yet. But you can use a hacky class like this:
https://play.tailwindcss.com/MS3WEyEmwd