Skip to content

Commit

Permalink
Fix toolbar up section after w2ui rework
Browse files Browse the repository at this point in the history
To make consistent all toolbar element height with prev version where we were using w2Ui lib
- i have added height to table-row element same as we had in prev version
- remove fix height for toolbar-up which is not needed now
- this fix height will effect the bg-color in toolbar-up section

Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I7b307a6a72968ed81fe2eb8663c430f11e3b3ced
  • Loading branch information
Darshan-upadhyay1110 committed Apr 29, 2024
1 parent c8b9aca commit a8e4b49
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions browser/css/notebookbar.css
Expand Up @@ -179,6 +179,10 @@ button.ui-tab.notebookbar {
z-index: 11;
}

#toolbar-row {
height: 74px;
}

.vertical.notebookbar {
width: max-content;
display: grid;
Expand Down
6 changes: 5 additions & 1 deletion browser/css/toolbar.css
@@ -1,6 +1,6 @@
#toolbar-up {
z-index: 11;
height: 38px;
align-self: center;
}

#document-name-input-loading-bar {
Expand Down Expand Up @@ -247,6 +247,10 @@ w2ui-toolbar {
top: 3px;
}

.main-nav:not(.hasnotebookbar) ~ #toolbar-wrapper .toolbar-row {
height: 42px;
}

/* center the toolbar */
#tb_presentation-toolbar_item_left {
width: 50%;
Expand Down

0 comments on commit a8e4b49

Please sign in to comment.