Make full screen image scrollable
This commit is contained in:
parent
97b3be305f
commit
0d99019e94
|
|
@ -26,8 +26,6 @@
|
|||
&__image {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
max-height: 95vh;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -91,7 +91,15 @@
|
|||
|
||||
&--fullscreen &__body {
|
||||
padding: 0;
|
||||
overflow-y: hidden;
|
||||
scrollbar-width: none;
|
||||
margin-right: -5px;
|
||||
|
||||
height: auto;
|
||||
max-height: 95vh;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&--fullscreen &__close-button {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ import {ApolloLink} from 'apollo-link'
|
|||
import fetch from 'unfetch'
|
||||
|
||||
const httpLink = new HttpLink({
|
||||
uri: process.env.NODE_ENV !== 'production' ? 'http://localhost:8000/api/graphql/' : '/api/graphql/',
|
||||
// uri: process.env.NODE_ENV !== 'production' ? 'http://localhost:8000/api/graphql/' : '/api/graphql/',
|
||||
uri: '/api/graphql/',
|
||||
credentials: 'include',
|
||||
fetch: fetch,
|
||||
headers: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue