From 9b2fdb8a1b83015a28ccf4e4cdb916c902bb3723 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Sun, 31 Jan 2021 01:44:55 +0900 Subject: [PATCH] overflow-wrap : anywhere to stop a long- text break grid layout. --- run.sh | 2 +- styles/aurora.css | 2 ++ styles/dark.css | 1 + styles/white.css | 2 ++ 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 4d18b2e..9f1f69e 100755 --- a/run.sh +++ b/run.sh @@ -1,3 +1,3 @@ #!/bin/bash -python run.py -d ./data/ -nf -s styles/dark.css --no-hidden --no-underscore --unfolding -e .git +python run.py -d ./data/ -nf -s styles/aurora.css --no-hidden --no-underscore --unfolding -e .git diff --git a/styles/aurora.css b/styles/aurora.css index 530678c..dff0485 100644 --- a/styles/aurora.css +++ b/styles/aurora.css @@ -59,6 +59,7 @@ div { .plain div { white-space: pre-line; + overflow-wrap: anywhere; } figure { @@ -93,6 +94,7 @@ body::-webkit-scrollbar { #header { padding-bottom: 3em; + display: none; } .unfolded { diff --git a/styles/dark.css b/styles/dark.css index 2e5b7b7..d8500d4 100644 --- a/styles/dark.css +++ b/styles/dark.css @@ -59,6 +59,7 @@ div { .plain div { white-space: pre-line; + overflow-wrap: anywhere; } /* .x-c div, diff --git a/styles/white.css b/styles/white.css index 8aa1556..ed01307 100644 --- a/styles/white.css +++ b/styles/white.css @@ -59,6 +59,7 @@ div { .plain div { white-space: pre-line; + overflow-wrap: anywhere; } figure { @@ -93,6 +94,7 @@ body::-webkit-scrollbar { #header { padding-bottom: 3em; + display: none; } .unfolded {