Truncate without break-killing

This commit is contained in:
Kasper Rynning-Tønnesen
2020-01-30 14:27:17 +01:00
parent d7b3d2b368
commit d677cedd02

View File

@@ -111,11 +111,23 @@ ol {
overflow: hidden; overflow: hidden;
&:hover { &:hover {
max-width: initial; line-break: unset;
word-break: break-word;
white-space: normal;
overflow: auto;
text-overflow: unset;
} }
@include mobile { @include mobile {
max-width: calc(75vw - 177px); max-width: calc(75vw - 177px);
&:focus {
line-break: unset;
word-break: break-word;
white-space: normal;
overflow: auto;
text-overflow: unset;
}
} }
} }
</style> </style>