We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3eed445 + 3877756 commit c8f2166Copy full SHA for c8f2166
1 file changed
src/pages/minesweeper/styles.module.css
@@ -112,12 +112,13 @@
112
113
.grid {
114
display: grid;
115
- gap: 0.5px;
+ gap: 1px;
116
background: #34495e;
117
- padding: 0.5px;
+ padding: 1px;
118
border-radius: 4px;
119
width: fit-content;
120
margin: 0 auto;
121
+ grid-template-columns: repeat(auto-fill, 30px);
122
overflow-x: auto;
123
max-width: 100%;
124
-webkit-overflow-scrolling: touch;
@@ -135,6 +136,7 @@
135
136
font-size: 1rem;
137
cursor: pointer;
138
transition: all 0.2s ease;
139
+ flex-shrink: 0;
140
}
141
142
.cell:hover {
0 commit comments