aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-04-26 18:08:21 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-04-26 18:08:21 +0200
commit23f69d8061570fe710596602868586fbda5072c4 (patch)
tree5f30c0f18e7c1df6218050f086b2278915045caa
parentTable cells date now in <time> tag. (diff)
downloadcalp-hyphen.tar.gz
calp-hyphen.tar.xz
Testing hyphenation and word breaks.hyphen
-rw-r--r--static/style.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css
index bc22f765..443dc069 100644
--- a/static/style.css
+++ b/static/style.css
@@ -449,7 +449,18 @@ along with their colors.
.events .event {
width: 100%;
+ min-height: 3ex;
+ /*
+ lang="sv" on html doesn't seem to propagate down
+ individual lang="sv" on the individual elements doesn't seem to work
+ Manual insertions of &shy; work, but is way to much work.
+ */
+ hyphens: auto;
+ word-break: break-all;
+}
+.event .body {
+ hyphens: auto;
}
.events .event.continuing {