Fix awkward typed title wrapping on phones #20
|
@ -1,4 +1,5 @@
|
||||||
((nil . ((indent-tabs-mode . nil)
|
((nil . ((indent-tabs-mode . nil)
|
||||||
(tab-width . 4)
|
(tab-width . 4)
|
||||||
(fill-column . 80)
|
(fill-column . 80)
|
||||||
(projectile-project-run-cmd . "cd templates && parcel serve --no-autoinstall"))))
|
(projectile-project-run-cmd . "cd templates && parcel serve --no-autoinstall")))
|
||||||
|
(scss-mode . ((css-indent-offset . 2))))
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
$iterations: math.ceil(math.div($duration, 1s)) * 2;
|
$iterations: math.ceil(math.div($duration, 1s)) * 2;
|
||||||
|
|
||||||
animation: $name ease-in-out 500ms $iterations alternate;
|
animation: $name ease-in-out 500ms $iterations alternate;
|
||||||
content: " ";
|
content: " ";
|
||||||
|
|
||||||
@keyframes #{$name} {
|
@keyframes #{$name} {
|
||||||
from {
|
from {
|
||||||
content: " ";
|
content: " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
to {
|
to {
|
||||||
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
/// Animate a piece of text as if it was being typed by a human.
|
/// Animate a piece of text as if it was being typed by a human.
|
||||||
@mixin typed($text, $duration) {
|
@mixin typed($text, $duration) {
|
||||||
|
word-break: break-all;
|
||||||
|
|
||||||
// We don't want a linearly typed set of text, which makes this
|
// We don't want a linearly typed set of text, which makes this
|
||||||
// singificantly more complex.
|
// singificantly more complex.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue