From 231ee3bcfb8054c31bda9f7d936480d33840b40c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 11 Jun 2016 11:24:17 +0530 Subject: [PATCH] Add missing random icon --- imgsrc/srv/random.svg | 1 + src/pyj/book_list/top_bar.pyj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 imgsrc/srv/random.svg diff --git a/imgsrc/srv/random.svg b/imgsrc/srv/random.svg new file mode 100644 index 0000000000..6f55b60546 --- /dev/null +++ b/imgsrc/srv/random.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/pyj/book_list/top_bar.pyj b/src/pyj/book_list/top_bar.pyj index acbe8f6e75..16436330f8 100644 --- a/src/pyj/book_list/top_bar.pyj +++ b/src/pyj/book_list/top_bar.pyj @@ -114,7 +114,7 @@ class TopBar: right = bar.firstChild.nextSibling elem = right.querySelector('#{}-bar-icon-{}'.format(('top' if bar is self.bar else 'dummy'), icon_name)) if elem: - elem.style.display = 'inline' if visible else 'none' + elem.style.display = 'inline-block' if visible else 'none' def apply_state(self, left, buttons): self.set_left(**left)