From ef85ad26d9cc8758dce89cdb2c6f3d4da8d44963 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sat, 19 Dec 2020 14:00:05 -0500 Subject: [PATCH] overflow page title correctly (fixes derpibooru/philomena#193) --- assets/css/views/_pagination.scss | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/assets/css/views/_pagination.scss b/assets/css/views/_pagination.scss index 22f54215..00e53a8c 100644 --- a/assets/css/views/_pagination.scss +++ b/assets/css/views/_pagination.scss @@ -3,10 +3,18 @@ flex-wrap: wrap; } +.page__title { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} + .page__title, .page__pagination { - display: inline-flex; - flex-wrap: nowrap; flex-shrink: 0; + + display: block; + box-sizing: border-box; + max-width: 100%; } .pagination__dropdown {