react-php-v8js icon indicating copy to clipboard operation
react-php-v8js copied to clipboard

Update package react and react-dom to version 15 and update code styl…

Open Pakinwet opened this issue 7 years ago • 3 comments

  • Update Dependencies package for react version 15 .
  • Update code style better server-side rendering :)

Pakinwet avatar Aug 02 '18 19:08 Pakinwet

give the style on your TabList, example : <TabList style={{ position: "fixed", width: "100%" }} >

and give padding top to the TabPanel: <TabPanel style={{ paddingTop: "50px" }}>

vieyama avatar Nov 08 '19 07:11 vieyama

@vieyama doing this stops the controlled feature

deflexable avatar Aug 08 '23 12:08 deflexable

Hello, here is a simple solution to achieve scrollable tabs.

  1. Add a container around <TabList> and assign overflow: scroll.
  2. Assign width: max-content; to .react-tabs__tab-list

Demo available here: https://codepen.io/alexpapworth/pen/eYaNorx

Screenshot 2024-05-15 at 13 36 35

alexpapworth avatar May 15 '24 12:05 alexpapworth