Reconcile with upstream changes
This commit is contained in:
parent
9581279919
commit
8cd112110e
44 changed files with 112 additions and 107 deletions
|
@ -14,18 +14,18 @@ pub trait Stack: StyleHelpers {
|
|||
}
|
||||
}
|
||||
|
||||
impl<S> Stack for Div<S> {}
|
||||
impl<S: 'static + Send + Sync> Stack for Div<S> {}
|
||||
|
||||
/// Horizontally stacks elements.
|
||||
///
|
||||
/// Sets `flex()`, `flex_row()`, `items_center()`
|
||||
pub fn h_stack<S: 'static>() -> Div<S> {
|
||||
pub fn h_stack<S: 'static + Send + Sync>() -> Div<S> {
|
||||
div().h_stack()
|
||||
}
|
||||
|
||||
/// Vertically stacks elements.
|
||||
///
|
||||
/// Sets `flex()`, `flex_col()`
|
||||
pub fn v_stack<S: 'static>() -> Div<S> {
|
||||
pub fn v_stack<S: 'static + Send + Sync>() -> Div<S> {
|
||||
div().v_stack()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue