nav: document nav-height css var & remove tablink vertical padding

This commit is contained in:
jean-emmanuel 2018-03-09 00:01:50 +01:00
parent e2a70f507a
commit 8b3f00ecdb
2 changed files with 6 additions and 1 deletions

View file

@ -59,6 +59,11 @@ Panels can contains tabs or widgets. These can be absolutely positioned and can
- usage: spacing size used in `layout` expression, can be set as a `[vertical,horizontal]` array.
- note: this only applies when the panel contains widgets, not tabs
### `css`
```
--nav-height: number[rem|%];
```
## Strip
Unidirectionnal panel with stretching capability. By default, children widgets that don't have an explicit `width`/`height` set will be shrinked to respect the sizes specified by others. Adding `flex:1;` to a children's `css` will give it the ability the fill the remaining space. Multiple children can have a `flex:x;` css property (`x` will ponderate their expansion).

View file

@ -75,7 +75,7 @@ body {
a {
background: var(--color-raised);
pointer-events: none;
padding: 5rem;
padding: 0 5rem;
height:100%;
display: flex;
align-items: center;