diff --git a/frontend/app/screens/Sponsors/styles.css b/frontend/app/screens/Sponsors/styles.css index af5f7c6..f027293 100644 --- a/frontend/app/screens/Sponsors/styles.css +++ b/frontend/app/screens/Sponsors/styles.css @@ -54,17 +54,25 @@ justify-content: space-between; margin-bottom: 20px; div { - align-items: center; - background-color: $lighterGrey; - display: flex; - justify-content: center; margin-bottom: 20px; - img { - display: block; - } - &:hover { - background-color: $almostWhite; + + a { + align-items: center; + background-color: $lighterGrey; + display: flex; + height: 100%; + justify-content: center; + padding: 10px; + + &:hover { + background-color: $almostWhite; + } + + img { + display: block; + } } + @media $xs_small { width: calc(50% - 10px); } diff --git a/frontend/app/shared/state/configureApolloClient.js b/frontend/app/shared/state/configureApolloClient.js index 4093f94..b8d578d 100644 --- a/frontend/app/shared/state/configureApolloClient.js +++ b/frontend/app/shared/state/configureApolloClient.js @@ -33,7 +33,11 @@ const addGetRequests = networkInterface => { .reduce( (carry, current) => [ ...carry, - [`${current}=${JSON.stringify(printedRequest[current])}`], + [ + `${current}=${encodeURIComponent( + JSON.stringify(printedRequest[current]), + )}`, + ], ], [], ) @@ -62,7 +66,7 @@ const addGetRequests = networkInterface => { .reduce( (carry, current, index) => [ ...carry, - [`${index}=${JSON.stringify(current)}`], + [`${index}=${encodeURIComponent(JSON.stringify(current))}`], ], [], )