Skip to content

Commit fcf8197

Browse files
authored
apply default background css for icon (#842)
1 parent b525b4a commit fcf8197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core/show-dir/styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const icons = require('./icons.json');
44

55
const IMG_SIZE = 16;
66

7-
let css = `i.icon { display: block; height: ${IMG_SIZE}px; width: ${IMG_SIZE}px; }\n`;
7+
let css = `i.icon { display: block; height: ${IMG_SIZE}px; width: ${IMG_SIZE}px; background: no-repeat center; }\n`;
88
css += 'table tr { white-space: nowrap; }\n';
99
css += 'td.perms {}\n';
1010
css += 'td.file-size { text-align: right; padding-left: 1em; }\n';

0 commit comments

Comments
 (0)