Fix horizontal scrollbar and title+description alignment and ellipsis
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
865b44bb4d
commit
8f2a66af02
|
@ -383,19 +383,21 @@ export default {
|
||||||
#form-title,
|
#form-title,
|
||||||
#form-desc {
|
#form-desc {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 10px; // aerate the header
|
margin: 16px 0; // aerate the header
|
||||||
padding: 0; // makes alignment and desc height calc easier
|
padding: 0 16px;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
#form-title {
|
#form-title {
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
|
padding-left: 14px; // align with description (compensate font size diff)
|
||||||
|
overflow-x: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
#form-desc {
|
#form-desc {
|
||||||
// make sure height calculations are correct
|
|
||||||
box-sizing: content-box !important;
|
|
||||||
min-height: 60px;
|
min-height: 60px;
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
padding-left: 2px; // align with title (compensate font size diff)
|
margin-top: 0;
|
||||||
resize: none;
|
resize: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue