wrap
This commit is contained in:
parent
3e40083b50
commit
a9bcd1a66c
@ -4,7 +4,7 @@ layout: default
|
|||||||
|
|
||||||
<div class="ma3 anthony">
|
<div class="ma3 anthony">
|
||||||
<h1 class="f-5 normal loading">Loading a note</h1>
|
<h1 class="f-5 normal loading">Loading a note</h1>
|
||||||
<div class="rand-notes f1"></div>
|
<div class="rand-notes f1 word-wrap"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -41,6 +41,10 @@
|
|||||||
font-family: "Work Sans Light", sans-serif;
|
font-family: "Work Sans Light", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.word-wrap {
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
|
||||||
// Shadow helper
|
// Shadow helper
|
||||||
|
|
||||||
.shadow-solid-accent { box-shadow: 2px 2px 10px rgba( var(--foreground-text-rgb), 0.2 ); }
|
.shadow-solid-accent { box-shadow: 2px 2px 10px rgba( var(--foreground-text-rgb), 0.2 ); }
|
||||||
|
@ -135,7 +135,7 @@ if (typeof window.graphDataIndex !== 'undefined') {
|
|||||||
if (counter === 4) {
|
if (counter === 4) {
|
||||||
document.querySelector('.rand-notes').innerHTML = ''
|
document.querySelector('.rand-notes').innerHTML = ''
|
||||||
}
|
}
|
||||||
}, 150)
|
}, 50)
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location = randomNode.path
|
window.location = randomNode.path
|
||||||
|
Loading…
Reference in New Issue
Block a user