Document-name-input: Fix top position

- replace old random top value with half if its height
- fix height (to be the same as the neighboring parents)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I738ca92b78daa4db773fe4dce6f1dd3d29001403
This commit is contained in:
Pedro Pinto Silva 2021-05-17 11:59:23 +02:00 committed by pedropintosilva
parent d714f1bb34
commit 83e7f44715

View file

@ -30,7 +30,7 @@
}
.document-title {
height: 30px;
height: 32px;
white-space: nowrap;
display: flex;
align-items: center;
@ -49,7 +49,8 @@
}
.main-nav.hasnotebookbar:not(.readonly) #document-titlebar {
top: -11px;
/* half of #document-name-input height: */
top: -9px;
}
.main-nav.readonly #document-titlebar {
top: 1px;