Update heroku
This commit is contained in:
parent
105cb24e78
commit
22cc927a85
|
@ -25,8 +25,8 @@ category: CSS
|
|||
display: flex;
|
||||
display: inline-flex;
|
||||
|
||||
flex-direction: row; /* ltr - default */
|
||||
flex-direction: row-reverse; /* rtl */
|
||||
flex-direction: row; /* ltr - default */
|
||||
flex-direction: row-reverse; /* rtl */
|
||||
flex-direction: column; /* top-bottom */
|
||||
flex-direction: column-reverse; /* bottom-top */
|
||||
|
||||
|
@ -47,6 +47,9 @@ category: CSS
|
|||
flex: 1 0 0;
|
||||
order: 1;
|
||||
flex-grow: 0;
|
||||
|
||||
align-self: flex-start; /* left */
|
||||
margin-left: auto; /* right */
|
||||
}
|
||||
|
||||
## Tricks
|
||||
|
@ -63,6 +66,14 @@ category: CSS
|
|||
margin: auto;
|
||||
}
|
||||
|
||||
### Vertical center (2)
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
align-items: center; /* vertical */
|
||||
justify-content: center; /* horizontal */
|
||||
}
|
||||
|
||||
### Reordering
|
||||
|
||||
.container > .top {
|
||||
|
@ -113,6 +124,11 @@ Vertically-center all items.
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
### Left and right
|
||||
|
||||
.menu > .left { align-self: flex-start; }
|
||||
.menu > .right { align-self: flex-end; }
|
||||
|
||||
### References
|
||||
|
||||
* [MDN: Using CSS flexbox](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes)
|
||||
|
|
|
@ -7,12 +7,12 @@ category: Devops
|
|||
|
||||
heroku create sushi
|
||||
|
||||
### `sharing` - Collaboration
|
||||
### `access` - Collaboration
|
||||
|
||||
# Manage collaborators
|
||||
heroku sharing # List
|
||||
heroku sharing:add me@xy.com
|
||||
heroku sharing:remove me@xy.com
|
||||
heroku access # List
|
||||
heroku access:add me@xy.com
|
||||
heroku access:remove me@xy.com
|
||||
|
||||
# Transfer to another owner
|
||||
heroku sharing:transfer new@owner.com
|
||||
|
|
|
@ -20,6 +20,7 @@ category: Ruby
|
|||
|
||||
### Specs (.must/.wont)
|
||||
|
||||
expect(x)
|
||||
.must_be :==, 0
|
||||
.must_equal b
|
||||
.must_be_close_to 2.99999
|
||||
|
|
Loading…
Reference in New Issue