diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/head-includes.html | 19 | ||||
-rw-r--r-- | layouts/partials/modules/projects.html | 4 |
2 files changed, 12 insertions, 11 deletions
diff --git a/layouts/partials/head-includes.html b/layouts/partials/head-includes.html index 3c99529..5fff50f 100644 --- a/layouts/partials/head-includes.html +++ b/layouts/partials/head-includes.html @@ -115,6 +115,16 @@ -o-transition: all 500ms; transition: all 500ms; } + .break-word { + overflow-wrap: break-word; + word-wrap: break-word; + -ms-word-break: break-all; + word-break: break-word; + -ms-hyphens: auto; + -moz-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; } + .main-description { position: relative; } .main-description h1 { @@ -125,15 +135,6 @@ padding-top: 1.3em; padding-bottom: 1.3em; z-index: 1; } - .main-description .break-word { - overflow-wrap: break-word; - word-wrap: break-word; - -ms-word-break: break-all; - word-break: break-word; - -ms-hyphens: auto; - -moz-hyphens: auto; - -webkit-hyphens: auto; - hyphens: auto; } .main-description .image-item { position: absolute; bottom: 0; diff --git a/layouts/partials/modules/projects.html b/layouts/partials/modules/projects.html index a5c2475..b079476 100644 --- a/layouts/partials/modules/projects.html +++ b/layouts/partials/modules/projects.html @@ -8,10 +8,10 @@ <div class="project-hover"> <div class="project-caption"> {{- with .title -}} - <div class="project-title">{{.}}</div> + <div class="break-word project-title">{{.}}</div> {{- end -}} {{- with .type -}} - <div class="project-type">{{.}}</div> + <div class="break-word project-type">{{.}}</div> {{- end -}} </div> </div> |