File: fill.css

package info (click to toggle)
r-cran-htmltools 0.5.9-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 736 kB
  • sloc: ansic: 188; sh: 15; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@layer htmltools {
  .html-fill-container {
    display: flex;
    flex-direction: column;
    /* Prevent the container from expanding vertically or horizontally beyond its
    parent's constraints. */
    min-height: 0;
    min-width: 0;
  }
  .html-fill-container > .html-fill-item {
    /* Fill items can grow and shrink freely within
    available vertical space in fillable container */
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
  }
  .html-fill-container > :not(.html-fill-item) {
    /* Prevent shrinking or growing of non-fill items */
    flex: 0 0 auto;
  }
}