Skip to content

Commit

Permalink
Add padding to controls table
Browse files Browse the repository at this point in the history
  • Loading branch information
matthunz committed Oct 26, 2023
1 parent 0391183 commit cecf9f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub fn preview(_attrs: TokenStream, input: TokenStream) -> TokenStream {
td { code { #ty_name } }
td { p { #docs } }
td { code { #default_string } }
td { <#ty>::control(cx, #pat_name, #pat) }
td { padding_right: "20px", <#ty>::control(cx, #pat_name, #pat) }
}));
}
_ => todo!(),
Expand Down
2 changes: 1 addition & 1 deletion src/ui/look.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub fn Look<'a>(
th { "Type" }
th { "Description" }
th { "Default" }
th { "Controls" }
th { padding_right: "20px", "Controls" }
}
controls
}
Expand Down

0 comments on commit cecf9f7

Please sign in to comment.