diff --git a/html.go b/html.go
index fd7e6f7..a357b33 100644
--- a/html.go
+++ b/html.go
@@ -80,7 +80,7 @@ func htmlReplacer(input string, activePage string) string {
tempA = htmlElement("h2", htmlClean(Event.title), "title")
tempA += htmlElement("p", htmlClean(Event.date), "date")
tempA += htmlElement("p", htmlClean(Event.description), "desc")
- tempB += htmlLinkElement(htmlElement("div", tempA, ""), "event/"+strconv.Itoa(Event.id), false, "class=\"event\"")
+ tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "event/"+strconv.Itoa(Event.id), false, "class=\"event\"")
tempB += "!SPLIT"
}
output = strings.ReplaceAll(output, "!EVENTS", htmlElement("div", strings.ReplaceAll(tempB, "!SPLIT", ""), "class=\"eventList\""))
diff --git a/web/styles/events.css b/web/styles/events.css
index 2328448..6d4cbfd 100644
--- a/web/styles/events.css
+++ b/web/styles/events.css
@@ -7,7 +7,6 @@ div.eventList {
div.eventList a.event {
display: inline-block;
- position: relative;
color: white !important;
background-color: var(--nav-background-color) !important;
}
@@ -17,8 +16,6 @@ div.eventList a.event:hover {
}
div.eventList a.event div.event {
- display: inline-block;
- position: relative;
max-width: 200px;
width: 100%;
height: 200px;