event aussehen verändert

This commit is contained in:
xoy 2023-01-29 20:20:45 +01:00
parent 9cabcff777
commit 7da8af13fd
2 changed files with 4 additions and 3 deletions

View File

@ -77,8 +77,8 @@ func htmlReplacer(input string, activePage string) string {
break
}
tempA = htmlElement("h2", htmlClean(Event.title), "class=\"title\"")
tempA += htmlElement("p", htmlClean(Event.date), "class=\"date\"")
tempA = htmlElement("p", htmlClean(Event.date), "class=\"date\"")
tempA += htmlElement("h2", htmlClean(Event.title), "class=\"title\"")
tempA += htmlElement("p", htmlClean(Event.description), "class=\"desc\"")
tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "event/"+strconv.Itoa(Event.id), false, "class=\"event\"")
tempB += "!SPLIT"

View File

@ -35,6 +35,7 @@ div.eventList a.event div.event:hover {
div.eventList a.event div.event p.date {
text-align: right;
padding-right: 10px;
padding: 0 10px 0 0;
margin: 0;
text-decoration: none !important;
}