Tab container page size

I ma using a tab container with 3 pages.The data in each page is coming from an external source(REST API) the data received from api are of different sizes in different page.But the tab container by default is taking the size of the longest page(in terms of data). How can I restrict this behaviour? I cannot hardcode the page size as the data coming from the api is dynamic and realtime.
1 answers

You will need to work with a limit and offset in your call to the external source. Hopefully your consuming endpoint is well designed and has parameters for this.