fix title overflow

This commit is contained in:
les
2020-06-04 23:34:07 +02:00
parent 73fb3408a5
commit ce0bbb3fd4

View File

@@ -310,11 +310,13 @@ export default {
} }
.el-header { .el-header {
height: 4em;
position: sticky; position: sticky;
padding-top: 1em; padding-top: .4em;
top: 0px; top: 0px;
border-bottom: 1px solid lightgray; border-bottom: 1px solid lightgray;
z-index: 1; z-index: 1;
overflow: hidden;
} }
.embedDialog { .embedDialog {
@@ -359,13 +361,13 @@ export default {
} }
.title { .title {
max-width: 80%; display: table-cell;
max-height: 0.1rem; padding-right: 3em;
overflow: hidden; height: 2.1em;
font-size: 1.6rem; font-size: 1.6rem;
color: #404246; color: #404246;
line-height: 1; line-height: 1;
padding-right: 40px; vertical-align: middle;
} }
pre { pre {
@@ -444,8 +446,9 @@ export default {
} }
.title { .title {
font-size: 1em; font-size: 1.1em;
font-weight: bold; line-height: 1.4em;
color: black;
} }
} }
} }