mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
get last item spacing
* work around felxbox containers not taking padding into account
This commit is contained in:
parent
aaa3b10f71
commit
25083df18e
@ -7,7 +7,6 @@
|
||||
-webkit-overflow-scrolling: touch;
|
||||
margin-left: calc(-50vw + 50%);
|
||||
margin-right: calc(-50vw + 50%);
|
||||
padding-right: $spacer;
|
||||
display: flex;
|
||||
|
||||
@media (min-width: $break-point--medium) {
|
||||
@ -31,10 +30,12 @@
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-right: $spacer * 1.4;
|
||||
}
|
||||
// add final right margin
|
||||
&:after {
|
||||
content: '';
|
||||
flex: 0 0 $spacer * 2;
|
||||
}
|
||||
|
||||
// custom scrollbar
|
||||
|
Loading…
x
Reference in New Issue
Block a user