From a4640424826146b57dcee2011a37fba9cf3980de Mon Sep 17 00:00:00 2001 From: _Bastler Date: Wed, 6 Oct 2021 13:09:47 +0200 Subject: [PATCH] fix linewrap --- ngsw-config.json | 5 ++--- src/app/ui/entry/entry.ui.scss | 41 +++++++++++++++++++--------------- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/ngsw-config.json b/ngsw-config.json index 3fd1e0a..8e8a570 100644 --- a/ngsw-config.json +++ b/ngsw-config.json @@ -17,7 +17,7 @@ "assetGroups": [ { "name": "app", - "installMode": "prefetch", + "installMode": "lazy", "resources": { "files": [ "/favicon.ico", @@ -30,8 +30,7 @@ }, { "name": "assets", - "installMode": "lazy", - "updateMode": "prefetch", + "installMode": "prefetch", "resources": { "files": [ "/assets/**", diff --git a/src/app/ui/entry/entry.ui.scss b/src/app/ui/entry/entry.ui.scss index 617e9bf..ce436c1 100644 --- a/src/app/ui/entry/entry.ui.scss +++ b/src/app/ui/entry/entry.ui.scss @@ -1,5 +1,11 @@ @import '../../../variables.scss'; +.mat-icon { + top: 3px; + position: relative; + margin-right: 3px; +} + a.title { white-space: break-spaces; } @@ -18,27 +24,26 @@ span.urlbase { } } -small a { - color: inherit !important; - text-decoration: none; -} +small { -small a:hover { - color: inherit !important; - text-decoration: underline; + white-space: break-spaces; + + a { + color: inherit !important; + text-decoration: none; + } + + a:hover { + color: inherit !important; + text-decoration: underline; + } + + .mat-icon { + top: 2px; + margin-right: 0px; + } } span.voted { opacity: 0.5; } - -.mat-icon { - top: 3px; - position: relative; - margin-right: 3px; -} - -small .mat-icon { - top: 2px; - margin-right: 0px; -}