From 57d7c0c6cb99e9d016275da8185e3a2a5850c034 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 1 Feb 2020 15:47:27 +0200 Subject: [PATCH] use -moz-box-pack on title --- chrome/show_window_title_in_menubar.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/chrome/show_window_title_in_menubar.css b/chrome/show_window_title_in_menubar.css index 40da933..da90101 100644 --- a/chrome/show_window_title_in_menubar.css +++ b/chrome/show_window_title_in_menubar.css @@ -6,10 +6,17 @@ position: fixed; right: 140px; /* Space for window controls */ width: calc(100vw - 440px); /* Window width - window control width - menuitem (English) width */ - text-align: center + text-align: center; } head > *{ display: none } - head > title{ display: -moz-box; padding-top: 1px; max-width: 60vw; overflow-x: -moz-hidden-unscrollable; text-overflow: ellipsis } + head > title{ + display: -moz-box; + padding-top: 1px; + max-width: 60vw; + overflow-x: -moz-hidden-unscrollable; + text-overflow: ellipsis; + -moz-box-pack: center; + } @media (-moz-os-version:windows-win10){ :root[sizemode="maximized"] > head > title { padding-top: 10px } }