Skip to content

Commit

Permalink
push dropdown to left
Browse files Browse the repository at this point in the history
  • Loading branch information
cookspam committed Jun 24, 2024
1 parent a4d9bbe commit 1e62432
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions public/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,10 @@ h2:where(.dark, .dark *) {
margin-right: 2.5rem;
}

.mr-12 {
margin-right: 3rem;
}

.block {
display: block;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/leaderboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ pub fn SupplyStats(cx: Scope) -> Element {
div {
class: "relative inline-block",
button {
class: "mr-10 dropdown-button border text-center w-20 border-teal-500 rounded-lg text-black dark:text-white",
class: "mr-12 dropdown-button border text-center w-20 border-teal-500 rounded-lg text-black dark:text-white",
onclick: move |_| {
console::log_1(&JsValue::from_str(&format!("{}", *show_dropdown.get())));
show_dropdown.set(!*show_dropdown.get());
Expand Down

0 comments on commit 1e62432

Please sign in to comment.