Skip to content

Commit

Permalink
app: fixes small margins on gems tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Dav1dde committed May 25, 2024
1 parent 9a1d723 commit 66dc0e2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/src/components/pob_gems.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ pub fn PobGems<'a, G: Html>(cx: Scope<'a>, build: &'a Build) -> View<G> {

let select = match show_select {
true => {
view! { cx, PobColoredSelect(options=options, selected=selected, label="Select skill set", on_change=on_change) }
view! { cx,
div(class="-mb-5") {
PobColoredSelect(options=options, selected=selected, label="Select skill set", on_change=on_change)
}
}
}
false => View::default(),
};
Expand All @@ -75,7 +79,7 @@ pub fn PobGems<'a, G: Html>(cx: Scope<'a>, build: &'a Build) -> View<G> {
(select)

Popup(attach=attach, parent=None) { (&*popup.get()) }
div(class="columns-2xs gap-5 sm:ml-3 leading-[1.35rem]") {
div(class="columns-2xs gap-5 sm:ml-3 mt-5 leading-[1.35rem]") {
div(on:mouseover=mouseover, on:mouseout=mouseout) { (&*content.get()) }
}
}
Expand Down

0 comments on commit 66dc0e2

Please sign in to comment.