Skip to content

Commit

Permalink
Final Design updates including design updates of #372
Browse files Browse the repository at this point in the history
  • Loading branch information
veer-pratap-yral committed Sep 9, 2024
1 parent 28f17c2 commit dc64055
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ssr/src/page/post_view/bet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ fn HNButtonOverlay(
});
}
</AuthCansProvider>
<div class="flex justify-center w-full touch-manipulation">
<div class="flex relative top-4 justify-center w-full touch-manipulation" style="top: 25px;" >
<button
disabled=running
on:click=move |_| coin.update(|c| *c = c.wrapping_next())
Expand All @@ -191,7 +191,7 @@ fn HNButtonOverlay(
</div>
<div class="flex flex-row gap-6 justify-center items-center w-full touch-manipulation">
<HNButton disabled=running bet_direction kind=BetKind::Hot />
<button disabled=running on:click=move |_| coin.update(|c| *c = c.wrapping_next())>
<button class="mt-6" disabled=running on:click=move |_| coin.update(|c| *c = c.wrapping_next())>
<CoinStateView disabled=running class="mt-1 w-12 h-12 md:w-14 md:h-14 lg:w-16 lg:h-16 drop-shadow-lg" coin />
</button>
<HNButton disabled=running bet_direction kind=BetKind::Not />
Expand All @@ -200,7 +200,7 @@ fn HNButtonOverlay(
// most of the CSS is for alignment with above icons
<div class="flex gap-6 justify-center items-center pt-2 mb-2 w-full text-base font-medium text-center md:text-lg lg:text-xl touch-manipulation">
<p class="pb-4 mx-4 w-14 md:w-16 lg:w-18">Hot</p>
<div class="flex justify-center w-12 md:w-14 lg:w-16">
<div class="flex relative bottom-4 justify-center w-12 md:w-14 lg:w-16" style="bottom: 4px;" >
<button
disabled=running
on:click=move |_| coin.update(|c| *c = c.wrapping_prev())
Expand Down

0 comments on commit dc64055

Please sign in to comment.