Commit af94c59b8b18f67c8ba91c37c972e05cb7b1072d
Fix links
Stuart Gathman committed on 8/7/2017, 12:36:57 AMParent: 4bfb33a4d47d3c3d5a32dd12169c04be0592ff6b
Files changed
lib/render.js | changed |
static/styles.css | changed |
lib/render.js | ||
---|---|---|
@@ -189,9 +189,9 @@ | ||
189 | 189 … | if (/^ssb:\/\//.test(href)) href = href.substr(6) |
190 | 190 … | switch (href[0]) { |
191 | 191 … | case '%': |
192 | 192 … | if (!u.isRef(href)) return false |
193 | - return this.opts.base + encodeURIComponent(href) | |
193 … | + return this.opts.base + encodeURIComponent(href).replace(/%2F/g,"/") | |
194 | 194 … | case '@': |
195 | 195 … | if (!u.isRef(href)) return false |
196 | 196 … | return this.opts.base + href |
197 | 197 … | case '&': |
static/styles.css | ||
---|---|---|
@@ -1,7 +1,7 @@ | ||
1 | 1 … | * { |
2 | 2 … | box-sizing: border-box; |
3 | - overflow:scroll; | |
3 … | + overflow:auto; | |
4 | 4 … | } |
5 | 5 … | |
6 | 6 … | body { |
7 | 7 … | margin: 0 auto; |
@@ -87,10 +87,10 @@ | ||
87 | 87 … | .nav-bar a { |
88 | 88 … | color: #eee; |
89 | 89 … | margin: 0px; |
90 | 90 … | text-decoration: none; |
91 | - padding-top: 404px; | |
92 | - padding-bottom: 200px; | |
91 … | + --padding-top: 404px; | |
92 … | + --padding-bottom: 200px; | |
93 | 93 … | padding-left: 10px; |
94 | 94 … | padding-right: 10px; |
95 | 95 … | } |
96 | 96 … |
Built with git-ssb-web