Skip to content

Commit

Permalink
Small visual fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TACTIC committed Jul 9, 2021
1 parent 899cb8d commit 1e782f9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/tactic/ui/widget/swap_display_wdg.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,16 @@ def get_display(self):
show_border = self.kwargs.get("show_border")
if show_border in [True, 'true']:

on_div.add_style("border: solid 1px %s" % on_div.get_color("border") )
on_div.add_style("border: solid 1px %s" % on_div.get_color("border", -10) )
on_div.add_style("border-radius: 20px")
on_div.add_style("padding: 5px 3px")
on_div.add_style("padding: 5px 8px")
on_div.add_class("btn bmd-icon-btn")


off_div.add_style("border: solid 1px %s" % off_div.get_color("border") )
off_div.add_style("border: solid 1px %s" % off_div.get_color("border", -10) )
off_div.add_style("border-radius: 20px")
off_div.add_style("padding: 5px 3px")
off_div.add_style("padding: 5px 8px")
off_div.add_class("btn bmd-icon-btn")



Expand Down

0 comments on commit 1e782f9

Please sign in to comment.