Make tab headers flexible on hover to be able to see their full titles

This commit is contained in:
Hadi Nategh 2022-09-28 10:06:40 +02:00
parent ffd6c21ed4
commit d76bbd1483
2 changed files with 12 additions and 3 deletions

View File

@ -4499,6 +4499,8 @@ span.overlayContainer img.overlay {
background-repeat: repeat-x;
background-color: transparent;
height: 39px;
display: flex;
align-items: baseline;
/*active Tabs*/
}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header h1 {
@ -4550,8 +4552,11 @@ span.overlayContainer img.overlay {
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header:hover {
background-color: rgba(153, 204, 255, 0.4);
padding-bottom: 0px;
padding-top: 8px;
padding-top: 7px;
transition: none;
width: -webkit-fill-available;
width: -moz-available;
max-width: fit-content !important;
}
#egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header .egw_fw_ui_tab_header:hover .egw_fw_ui_tab_close_button {
background-image: url(../../api/templates/default/images/close.svg);

View File

@ -62,6 +62,8 @@
background-repeat: repeat-x;
background-color: transparent;
height: 39px;
display: flex;
align-items: baseline;
h1 {
display: inline;
width: 100%;
@ -109,9 +111,11 @@
&:hover {
background-color: @color_hover_row;
padding-bottom: 0px;
padding-top: 8px;
padding-top: 7px;
transition: none;
width: -webkit-fill-available;
width: -moz-available;
max-width: fit-content !important;
.egw_fw_ui_tab_close_button {
background-image: url(../../api/templates/default/images/close.svg);
}