Skip to content

Commit b08fa8d

Browse files
apply css improvements from gabrielecirulli#68
1 parent 71baa9d commit b08fa8d

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

style/main.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,15 @@ hr {
143143
padding: 15px;
144144
cursor: default;
145145
-webkit-touch-callout: none;
146+
-ms-touch-callout: none;
146147
-webkit-user-select: none;
147148
-moz-user-select: none;
148149
-ms-user-select: none;
150+
-ms-touch-action: none;
149151
background: #bbada0;
150152
border-radius: 6px;
151153
width: 500px;
152154
height: 500px;
153-
-ms-touch-action: none;
154155
-webkit-box-sizing: border-box;
155156
-moz-box-sizing: border-box;
156157
box-sizing: border-box; }
@@ -543,14 +544,15 @@ hr {
543544
padding: 10px;
544545
cursor: default;
545546
-webkit-touch-callout: none;
547+
-ms-touch-callout: none;
546548
-webkit-user-select: none;
547549
-moz-user-select: none;
548550
-ms-user-select: none;
551+
-ms-touch-action: none;
549552
background: #bbada0;
550553
border-radius: 6px;
551554
width: 280px;
552555
height: 280px;
553-
-ms-touch-action: none;
554556
-webkit-box-sizing: border-box;
555557
-moz-box-sizing: border-box;
556558
box-sizing: border-box; }

style/main.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,18 @@ hr {
176176

177177
cursor: default;
178178
-webkit-touch-callout: none;
179+
-ms-touch-callout: none;
180+
179181
-webkit-user-select: none;
180182
-moz-user-select: none;
181183
-ms-user-select: none;
182184

185+
-ms-touch-action: none;
186+
183187
background: $game-container-background;
184188
border-radius: $tile-border-radius * 2;
185189
width: $field-width;
186190
height: $field-width;
187-
-ms-touch-action: none;
188191
-webkit-box-sizing: border-box;
189192
-moz-box-sizing: border-box;
190193
box-sizing: border-box;

0 commit comments

Comments
 (0)