mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-01-18 01:24:09 +00:00
Fixed alignment of single-element carousel
This commit is contained in:
parent
8def44a214
commit
a16ff24a86
@ -85,17 +85,17 @@ function Team({ members, teamName, teamNumber, teamDept }: Teams) {
|
||||
},
|
||||
breakpoints: {
|
||||
'(max-width: 900px)': {
|
||||
slides: { perView: 2.2, spacing: 20, origin: 'center' },
|
||||
slides: { perView: 2.2, spacing: 20, origin: 'auto' },
|
||||
mode: 'snap'
|
||||
},
|
||||
'(max-width: 600px)': {
|
||||
slides: { perView: 1.65, spacing: 35, origin: 'center' }
|
||||
slides: { perView: 1.65, spacing: 35, origin: 'auto' }
|
||||
},
|
||||
'(min-width: 901px)': {
|
||||
disabled: true
|
||||
}
|
||||
},
|
||||
slides: { perView: 1.6, spacing: 30, origin: 'center' }
|
||||
slides: { perView: 1.6, spacing: 30, origin: 'auto' }
|
||||
})
|
||||
|
||||
return (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user