git ssb

10+

Matt McKegg / patchwork



Commit c2330d6f4c502dd3403846261543d2cbdac5d504

show pending images (blob not fetched yet)

Matt McKegg committed on 6/12/2017, 5:05:07 AM
Parent: 3738a10330418ba685af21142b05c622732f4eec

Files changed

package.jsonchanged
styles/markdown.mcsschanged
package.jsonView
@@ -37,9 +37,9 @@
3737 "mutant-pull-reduce": "^1.1.0",
3838 "non-private-ip": "^1.4.1",
3939 "on-change-network": "0.0.2",
4040 "on-wakeup": "^1.0.1",
41- "patchcore": "~0.7.0",
41+ "patchcore": "~0.8.0",
4242 "patchwork-gatherings": "^1.0.2",
4343 "pull-abortable": "^4.1.0",
4444 "pull-defer": "^0.2.2",
4545 "pull-file": "~1.0.0",
styles/markdown.mcssView
@@ -1,6 +1,27 @@
11 Markdown {
22 word-break: break-word
3+ (img) {
4+ -pending {
5+ border: 1px solid #DDD
6+ background-color: #EEE
7+ width: 120px
8+ height: 40px
9+ background-image: svg(fetching)
10+ background-position: center
11+ background-repeat: no-repeat
12+
13+ @svg fetching {
14+ width: 100px
15+ height: 20px
16+ content: '<text x='0' y='12'>Fetching image...</text>'
17+ text {
18+ font: caption
19+ font-size: 12px
20+ }
21+ }
22+ }
23+ }
324 (blockquote) {
425 margin: 1rem 0;
526 padding: 5px 20px;
627 border-left: 4px gainsboro solid;

Built with git-ssb-web