Skip to content
This repository was archived by the owner on Oct 27, 2020. It is now read-only.

Commit eaaa124

Browse files
committed
Fix line break of social icons on small viewports
1 parent c869a13 commit eaaa124

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

book/plugin.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@media screen and (max-width: 850px) {
2+
body.with-summary .edit-link {
3+
overflow: hidden;
4+
width: 30px;
5+
}
6+
}
7+
@media screen and (max-width: 500px) {
8+
.edit-link {
9+
overflow: hidden;
10+
width: 30px;
11+
}
12+
}

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ var path = require('path');
33
module.exports = {
44
book: {
55
assets: "./book",
6-
js: ["plugin.js"]
6+
js: ["plugin.js"],
7+
css: ["plugin.css"]
78
},
89
hooks: {
910
// After html generation

0 commit comments

Comments
 (0)