+
{events.map((event, index) => (
<>
diff --git a/src/style.css b/src/style.css
index 68197c1..b3bc2ac 100644
--- a/src/style.css
+++ b/src/style.css
@@ -26,3 +26,31 @@ hr {
height: 0;
width: '100%';
}
+
+@media only screen and (min-width: 481px) {
+ .event {
+ display: flex;
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.3);
+ padding-top: 4px;
+ }
+ .event-image {
+ width: 168px;
+ height: 168px;
+ box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.75);
+ }
+ .event-card {
+ padding-left: 8px;
+ }
+}
+
+@media only screen and (min-width: 320px) and (max-width: 480px) {
+ .event {
+ display: flex;
+ flex-direction: column;
+ }
+ .event-image {
+ width: 100%;
+ box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.75);
+ }
+}
diff --git a/src/style.js b/src/style.js
deleted file mode 100644
index 0c29969..0000000
--- a/src/style.js
+++ /dev/null
@@ -1,22 +0,0 @@
-export default {
- Events: {},
- Event: {
- display: 'flex',
- 'border-top': '1px solid rgba(0, 0, 0, 0.1)',
- 'border-bottom': '1px solid rgba(255, 255, 255, 0.3)',
- 'padding-top': '4px',
- },
- EventImage: {
- width: '168px',
- height: '168px',
- 'box-shadow': '1px 1px 3px 0px rgba(0,0,0,0.75)',
- },
- EventCard: {
- 'padding-left': '8px',
- },
- hr: {
- border: 0,
- height: 0,
- width: '100%',
- },
-}