--- title: Prevent tab captions from being cut off slug: '1428' canonical_url: https://docs.coveo.com/en/1428/ collection: javascript-search-framework source_format: adoc --- # Prevent tab captions from being cut off In a search page, if the `coveo-tab-section` div is inside or below the `coveo-result-column` div, the rightmost tab caption may be cut off when the end user resizes the window. If you're facing this issue, set the `position` CSS property to `relative` for the `.coveo-results-column` selector to restore proper tab behavior (see [Styling the Coveo JavaScript Search Framework](https://docs.coveo.com/en/423/)). ```css .coveo-results-column { position: relative; } ``` This CSS yields the following behavior: