ssb-chess-mithril 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/game.css +3 -1
- package/css/global.css +1 -3
- package/index.js +5 -1
- package/package.json +1 -2
package/css/game.css
CHANGED
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.ssb-embedded-chat-messages {
|
|
28
|
+
padding-top: 10px;
|
|
29
|
+
padding-left: 5px;
|
|
28
30
|
width: 99%;
|
|
29
31
|
height: 430px;
|
|
30
32
|
border: 1px black solid;
|
|
@@ -33,7 +35,7 @@
|
|
|
33
35
|
.ssb-embedded-chat-message {
|
|
34
36
|
margin-left: 5px;
|
|
35
37
|
margin-right: 5px;
|
|
36
|
-
margin-bottom:
|
|
38
|
+
margin-bottom: 4px;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
.ssb-embedded-chat-message-old {
|
package/css/global.css
CHANGED
package/index.js
CHANGED
|
@@ -117,7 +117,11 @@ module.exports = (attachToElement, dataAccess, opts = {}) => {
|
|
|
117
117
|
|
|
118
118
|
const settingsCtrl = mainCtrl.getSettingsCtrl();
|
|
119
119
|
|
|
120
|
-
const mainBody =
|
|
120
|
+
const mainBody = document.createElement('div');
|
|
121
|
+
mainBody.className = 'ssb-chess-container'
|
|
122
|
+
|
|
123
|
+
attachToElement.appendChild(mainBody);
|
|
124
|
+
|
|
121
125
|
const navDiv = document.createElement('div');
|
|
122
126
|
navDiv.id = 'ssb-nav';
|
|
123
127
|
const bodyDiv = document.createElement('div');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ssb-chess-mithril",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"description": "An ssb-chess client",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"howler": "^2.0.15",
|
|
19
19
|
"human-time": "0.0.2",
|
|
20
20
|
"hyperscript": "^2.0.2",
|
|
21
|
-
"lodash": "^4.17.11",
|
|
22
21
|
"mithril": "1.1.7",
|
|
23
22
|
"mutant": "3.29.0",
|
|
24
23
|
"pubsub-js": "^1.7.0",
|