Commit 2d14256b09e5676506a7bbfe4dae7c7e4017d7d8
Fix metadata rendering with long texts
Anders Rune Jensen committed on 1/10/2018, 11:26:45 PMParent: e3788ada877c767b73918c3d4e8ca406152c492f
Files changed
render.js | changed |
render.js | ||
---|---|---|
@@ -264,14 +264,16 @@ | ||
264 | 264 … | font-weight: bold; |
265 | 265 … | padding: 5px; |
266 | 266 … | border-radius: 3px; |
267 | 267 … | position: relative; |
268 … | + overflow: hidden; | |
269 … | + text-overflow: ellipsis; | |
268 | 270 … | } |
269 | 271 … | pre::before { |
270 | 272 … | content: "METADATA"; |
271 | 273 … | position: absolute; |
272 | - top: -7px; | |
273 | - left: 0px; | |
274 … | + top: -3px; | |
275 … | + right: 0px; | |
274 | 276 … | background-color: #212529; |
275 | 277 … | padding: 2px 4px 0; |
276 | 278 … | border-radius: 2px; |
277 | 279 … | font-family: "Helvetica Neue", "Calibri Light", Roboto, sans-serif; |
Built with git-ssb-web