add padding + margin
This commit is contained in:
parent
e9a9dad037
commit
b1c6ab8b7d
7 changed files with 230 additions and 22 deletions
|
@ -15,7 +15,7 @@ pub async fn index_page(ctx: RequestContext) -> StringResponse {
|
|||
h1 { "Hello World!" };
|
||||
|
||||
(Hover(
|
||||
Padding(Text("").color(Gray::_400)).x(10),
|
||||
Padding(Text("").color(&Gray::_400)).x(ScreenValue::_10),
|
||||
Link("/test", Text("Hello")).hx_get("/test").hx_get("/test").hx_trigger(
|
||||
Event::on_load().delay("2s")
|
||||
.and(Event::on_revealed())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue