git ssb

9+

cel / ssb-viewer



Commit 2d14256b09e5676506a7bbfe4dae7c7e4017d7d8

Fix metadata rendering with long texts

Anders Rune Jensen committed on 1/10/2018, 11:26:45 PM
Parent: e3788ada877c767b73918c3d4e8ca406152c492f

Files changed

render.jschanged
render.jsView
@@ -264,14 +264,16 @@
264264 font-weight: bold;
265265 padding: 5px;
266266 border-radius: 3px;
267267 position: relative;
268 + overflow: hidden;
269 + text-overflow: ellipsis;
268270 }
269271 pre::before {
270272 content: "METADATA";
271273 position: absolute;
272- top: -7px;
273- left: 0px;
274 + top: -3px;
275 + right: 0px;
274276 background-color: #212529;
275277 padding: 2px 4px 0;
276278 border-radius: 2px;
277279 font-family: "Helvetica Neue", "Calibri Light", Roboto, sans-serif;

Built with git-ssb-web