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:
parent
d714f1bb34
commit
83e7f44715
1 changed files with 3 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.document-title {
|
.document-title {
|
||||||
height: 30px;
|
height: 32px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -49,7 +49,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-nav.hasnotebookbar:not(.readonly) #document-titlebar {
|
.main-nav.hasnotebookbar:not(.readonly) #document-titlebar {
|
||||||
top: -11px;
|
/* half of #document-name-input height: */
|
||||||
|
top: -9px;
|
||||||
}
|
}
|
||||||
.main-nav.readonly #document-titlebar {
|
.main-nav.readonly #document-titlebar {
|
||||||
top: 1px;
|
top: 1px;
|
||||||
|
|
Loading…
Reference in a new issue