aboutsummaryrefslogtreecommitdiff
path: root/css/layout.scss
diff options
context:
space:
mode:
Diffstat (limited to 'css/layout.scss')
-rw-r--r--css/layout.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/css/layout.scss b/css/layout.scss
index e50d192..9f4d86d 100644
--- a/css/layout.scss
+++ b/css/layout.scss
@@ -16,6 +16,12 @@
box-sizing: border-box;
}
+// Text that auto-fits it's container
+.reveal .r-fit-text {
+ display: inline-block; // https://github.com/rikschennink/fitty#performance
+ white-space: nowrap;
+}
+
// Stack multiple elements on top of each other
.reveal .r-stack {
display: grid;