limit details width in compact mode

This commit is contained in:
tophf 2022-03-27 18:21:14 +03:00
parent b21497c1b2
commit ec5a685ee2

View File

@ -1086,6 +1086,7 @@ label {
position: absolute; position: absolute;
overflow: hidden auto; overflow: hidden auto;
max-height: var(--max-height, 10vh); max-height: var(--max-height, 10vh);
max-width: calc(100vw - 2 * var(--pad));
background: var(--bg); background: var(--bg);
box-shadow: 0 6px 20px rgba(0, 0, 0, .3); box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
padding: var(--pad); padding: var(--pad);
@ -1113,6 +1114,10 @@ label {
flex: 0 0 auto; flex: 0 0 auto;
overflow-x: hidden; overflow-x: hidden;
} }
#publish dd {
white-space: normal;
max-height: 1.25em;
}
#sections { #sections {
padding-left: 0; padding-left: 0;
} }