mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
formatting
This commit is contained in:
parent
91326ec6d9
commit
ab1f2429a7
2 changed files with 9 additions and 6 deletions
|
@ -806,9 +806,11 @@ class Browser(QMainWindow):
|
|||
)
|
||||
elif theme_manager.macos_dark_mode():
|
||||
grid = theme_manager.str_color("frame-bg")
|
||||
self.form.tableView.setStyleSheet(f"""
|
||||
self.form.tableView.setStyleSheet(
|
||||
f"""
|
||||
QTableView {{ gridline-color: {grid} }}
|
||||
""")
|
||||
"""
|
||||
)
|
||||
self.singleCard = False
|
||||
|
||||
def setupEditor(self):
|
||||
|
|
|
@ -142,9 +142,10 @@ QScrollBar::sub-line {
|
|||
}
|
||||
|
||||
QTabWidget { background-color: %s; }
|
||||
""" % (self.str_color("window-bg"),
|
||||
""" % (
|
||||
self.str_color("window-bg"),
|
||||
colors.get("fusion-button-hover-bg"),
|
||||
self.str_color("window-bg")
|
||||
self.str_color("window-bg"),
|
||||
)
|
||||
|
||||
# allow addons to modify the styling
|
||||
|
|
Loading…
Reference in a new issue