From f42acc26129fa4ec4d1a4eb75a5c73dbe9931d4c Mon Sep 17 00:00:00 2001 From: luoxiao Date: Mon, 25 Dec 2023 21:35:28 +0800 Subject: [PATCH] fix: layout class --- src/layout/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/mod.rs b/src/layout/mod.rs index fe26f1e..d409d2e 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -52,7 +52,7 @@ pub fn Layout( fn gen_class(position: LayoutPosition) -> String { let mut class = String::from("thaw-layout"); if position == LayoutPosition::Absolute { - class.push_str("thaw-layout--absolute-positioned"); + class.push_str(" thaw-layout--absolute-positioned"); } class }