pkgdown icon indicating copy to clipboard operation
pkgdown copied to clipboard

Tabset box heights are based upon largest tab

Open al-obrien opened this issue 1 year ago • 0 comments

The issue:

The height of the entire tab section is dependent upon the largest tab content, which can leave a lot of white space.

Example

You can see this in the example from the pkgdown website.

image

Possible work around

I suspect this could be due to bootstrap itself, and I can work around it by forcing the CSS displays to another option.

/* Correct flex boxes from sizing based upon the largest in tabset*/
.tab-content>.tab-pane {
  display: none;
}

.tab-content>.active {
  display: block;
}

al-obrien avatar Jul 15 '24 17:07 al-obrien