Skip to content

Commit 3d30da8

Browse files
committed
changed margins, (failed for now) attempt to define xs breakpoint
1 parent 2dd723e commit 3d30da8

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

pages/index.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
2-
<div class="flex flex-wrap mt-6 mr-6 justify-between">
3-
<todo-list class="mb-8" />
2+
<div class="flex flex-wrap mt-6 mr-6 lg:justify-between">
3+
<todo-list class="mb-8 lg:mr-0 mr-12" />
44
<todo-create-form class="lg:w-1/3" />
55
<todo-stats class="lg:w-1/3 md:w-2/3" />
66
</div>

tailwind.config.js

+13-12
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,14 @@ module.exports = {
139139
'40': '10rem',
140140
'48': '12rem',
141141
'56': '14rem',
142-
'64': '16rem',
142+
'64': '16rem'
143143
},
144144
screens: {
145+
xs: '380px',
145146
sm: '640px',
146147
md: '768px',
147148
lg: '1024px',
148-
xl: '1280px',
149+
xl: '1280px'
149150
},
150151
fontFamily: {
151152
sans: [
@@ -221,19 +222,19 @@ module.exports = {
221222
right: 'right',
222223
'right-bottom': 'right bottom',
223224
'right-top': 'right top',
224-
top: 'top',
225+
top: 'top'
225226
},
226227
backgroundSize: {
227228
auto: 'auto',
228229
cover: 'cover',
229-
contain: 'contain',
230+
contain: 'contain'
230231
},
231232
borderWidth: {
232233
default: '1px',
233234
'0': '0',
234235
'2': '2px',
235236
'4': '4px',
236-
'8': '8px',
237+
'8': '8px'
237238
},
238239
borderColor: theme => ({
239240
...theme('colors'),
@@ -269,13 +270,13 @@ module.exports = {
269270
'1/6': '16.66667%',
270271
'5/6': '83.33333%',
271272
full: '100%',
272-
screen: '100vw',
273+
screen: '100vw'
273274
}),
274275
height: theme => ({
275276
auto: 'auto',
276277
...theme('spacing'),
277278
full: '100%',
278-
screen: '100vh',
279+
screen: '100vh'
279280
}),
280281
minWidth: {
281282
'0': '0',
@@ -284,7 +285,7 @@ module.exports = {
284285
minHeight: {
285286
'0': '0',
286287
full: '100%',
287-
screen: '100vh',
288+
screen: '100vh'
288289
},
289290
maxWidth: {
290291
xs: '20rem',
@@ -297,11 +298,11 @@ module.exports = {
297298
'4xl': '56rem',
298299
'5xl': '64rem',
299300
'6xl': '72rem',
300-
full: '100%',
301+
full: '100%'
301302
},
302303
maxHeight: {
303304
full: '100%',
304-
screen: '100vh',
305+
screen: '100vh'
305306
},
306307
padding: theme => theme('spacing'),
307308
margin: theme => ({ auto: 'auto', ...theme('spacing') }),
@@ -315,7 +316,7 @@ module.exports = {
315316
right: 'right',
316317
'right-bottom': 'right bottom',
317318
'right-top': 'right top',
318-
top: 'top',
319+
top: 'top'
319320
},
320321
boxShadow: {
321322
default: '0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06)',
@@ -325,7 +326,7 @@ module.exports = {
325326
'2xl': '0 25px 50px -12px rgba(0, 0, 0, .25)',
326327
inner: 'inset 0 2px 4px 0 rgba(0,0,0,0.06)',
327328
outline: '0 0 0 3px rgba(66,153,225,0.5)',
328-
none: 'none',
329+
none: 'none'
329330
},
330331
zIndex: {
331332
auto: 'auto',

0 commit comments

Comments
 (0)