From 750a28eccb2ca93019c28932ec66ed6659fd124c Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Sun, 15 Mar 2020 02:58:27 +0000 Subject: [PATCH] Break words in modal title and path to handle long text --- public/css/mango.css | 2 +- src/views/index.ecr | 2 +- src/views/title.ecr | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/css/mango.css b/public/css/mango.css index a9a98d5..ea06135 100644 --- a/public/css/mango.css +++ b/public/css/mango.css @@ -20,7 +20,7 @@ #scan-status { cursor: auto; } -.uk-card-title { +.break-word { word-wrap: break-word; } .uk-logo > img { diff --git a/src/views/index.ecr b/src/views/index.ecr index bc3c591..da2b89c 100644 --- a/src/views/index.ecr +++ b/src/views/index.ecr @@ -36,7 +36,7 @@ <%- if t.entries.size > 0 -%>
<%= (percentage[i] * 100).round(1) %>%
<%- end -%> -

<%= t.title %>

+

<%= t.title %>

<%= t.size %> entries

diff --git a/src/views/title.ecr b/src/views/title.ecr index 31d72eb..98d63b0 100644 --- a/src/views/title.ecr +++ b/src/views/title.ecr @@ -45,7 +45,7 @@ <%- if t.entries.size > 0 -%>
<%= (titles_percentage[i] * 100).round(1) %>%
<%- end -%> -

<%= t.title %>

+

<%= t.title %>

<%= t.size %> entries

@@ -73,8 +73,8 @@
- -

+ +