aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss')
-rw-r--r--scss/main.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/scss/main.scss b/scss/main.scss
index c438a90..893e66c 100644
--- a/scss/main.scss
+++ b/scss/main.scss
@@ -13,6 +13,8 @@ $headings-margin-bottom: 0;
@import "bootstrap/scss/_mixins.scss";
@import "bootstrap/scss/_utilities.scss";
+$navbar-nav-link-padding-x: $spacer;
+
// added component
@import "bootstrap/scss/_root.scss";
@import "bootstrap/scss/_containers.scss";
@@ -125,6 +127,14 @@ pre {
overflow-x: auto;
}
+#name {
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+ padding-left: $spacer;
+ max-width: calc(100% - calc(2 * #{$spacer}));
+}
+
#about {
padding: 0 $spacer $spacer $spacer;
> p:first-child {