mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Move close button in viewer preferences to left to match the rest of the content server UI. Fixes #1851937 [The close button placement](https://bugs.launchpad.net/calibre/+bug/1851937)
This commit is contained in:
parent
cb12614467
commit
4b11f99cd8
@ -28,9 +28,9 @@ class Prefs:
|
||||
title = E.h2()
|
||||
self.title_id = ensure_id(title)
|
||||
container.appendChild(E.div(
|
||||
style='display: flex; justify-content: space-between; padding: 1ex 1em; border-bottom: solid 1px currentColor',
|
||||
style='display: flex; justify-content: flex-start; padding: 1ex 1em; border-bottom: solid 1px currentColor',
|
||||
E.div(svgicon('close'), onclick=self.onclose, style='cursor:pointer; margin-right: 1ex'),
|
||||
title,
|
||||
E.div(svgicon('close'), onclick=self.onclose, style='cursor:pointer'),
|
||||
))
|
||||
container.appendChild(E.div())
|
||||
self.container_id = ensure_id(container.lastChild)
|
||||
|
Loading…
x
Reference in New Issue
Block a user