mirror of
https://github.com/adoyle0/thaw.git
synced 2025-02-02 16:44:15 -05:00
fix: layout class
This commit is contained in:
parent
c9db5b3dd4
commit
f42acc2612
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ pub fn Layout(
|
||||||
fn gen_class(position: LayoutPosition) -> String {
|
fn gen_class(position: LayoutPosition) -> String {
|
||||||
let mut class = String::from("thaw-layout");
|
let mut class = String::from("thaw-layout");
|
||||||
if position == LayoutPosition::Absolute {
|
if position == LayoutPosition::Absolute {
|
||||||
class.push_str("thaw-layout--absolute-positioned");
|
class.push_str(" thaw-layout--absolute-positioned");
|
||||||
}
|
}
|
||||||
class
|
class
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue