Commit graph

3 commits

Author SHA1 Message Date
Pedro Pinto Silva
5783a47f32 NB: Smartmenus: Do not set z-index
Make sure the default position (relative) and z-index (9999) are not set
for new Language dropdown (unotoolbutton), otherwise it will always be
on top of everything

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1ea3ba4d521a5caffb499473554fc4e5cfd336b8
2022-02-22 09:41:32 +01:00
andreas kainz
bab1d1ec7d Menubar use var for background-color at dropdown menues from the menubar
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I82565cd811bc4b0b71c39670a88e0fe21fa91d70
2022-02-18 08:32:52 +01:00
Pedro Pinto Silva
5f4cef403c Fix top (smartmenus) menu for small window width
On Laptops: When resize the browser window or tiling it to the right
or left the whole layout would get very difficult to work with due to
the smartmenus overlap over everything else.

Introduce override-smartmenus.css file (following the applied same logic
as with override-vex.css) and make sure smartmenus are not only
displayed correctly at those sizes but that other elements such as
document's title and modified timestamp get hidden if no space is
available.

Note: since we are not using the smartmenus for mobile we can safely do
this without worrying or adjusting nothing else for smartphones.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib42767f2110fc7bd0f471ea490f5430ae2958021
2022-01-05 15:10:19 +01:00