aboutsummaryrefslogtreecommitdiffhomepage
path: root/app.scss
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-04-28 21:48:30 -0700
committerBastien Wirtz <bastien.wirtz@gmail.com>2020-04-28 21:48:30 -0700
commit45d38d122645164cc384d379c170e0fdec447f77 (patch)
tree53a4138f7ed8b0d989ad26da2f83234a20b04904 /app.scss
parent5861f0f89911f07872b452307a0b22ce7eb849b9 (diff)
downloadhomer-45d38d122645164cc384d379c170e0fdec447f77.tar.gz
homer-45d38d122645164cc384d379c170e0fdec447f77.tar.zst
homer-45d38d122645164cc384d379c170e0fdec447f77.zip
Fixed text-overflow
Diffstat (limited to 'app.scss')
-rw-r--r--app.scss17
1 files changed, 13 insertions, 4 deletions
diff --git a/app.scss b/app.scss
index 2b726c8..51110e1 100644
--- a/app.scss
+++ b/app.scss
@@ -81,6 +81,14 @@ $theme-dark: (
81 } 81 }
82} 82}
83 83
84
85@mixin ellipsis() {
86 white-space: nowrap;
87 overflow: hidden;
88 text-overflow: ellipsis;
89}
90
91
84html { 92html {
85 height: 100%; 93 height: 100%;
86} 94}
@@ -205,17 +213,17 @@ body {
205 h2 { 213 h2 {
206 border-bottom: 1px dashed #ccc; 214 border-bottom: 1px dashed #ccc;
207 padding-bottom: 10px; 215 padding-bottom: 10px;
216 @include ellipsis();
208 } 217 }
209 218
210 .title { 219 .title {
211 font-size: 1.1em; 220 font-size: 1.1em;
221 @include ellipsis();
212 } 222 }
213 223
214 .subtitle { 224 .subtitle {
215 font-size: .9em; 225 font-size: .9em;
216 white-space: nowrap; 226 @include ellipsis();
217 overflow: hidden;
218 text-overflow: ellipsis;
219 } 227 }
220 228
221 .container { 229 .container {
@@ -237,7 +245,8 @@ body {
237 } 245 }
238 246
239 .media-content { 247 .media-content {
240 overflow: inherit; 248 overflow: hidden;
249 text-overflow: inherit;
241 } 250 }
242 251
243 .tag { 252 .tag {