event aussehen verändert

This commit is contained in:
xoy 2023-01-29 20:20:45 +01:00
parent d182988aaa
commit 758ae24fc6
2 changed files with 4 additions and 3 deletions

View File

@ -77,8 +77,8 @@ func htmlReplacer(input string, activePage string) string {
break 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\"") tempA += htmlElement("p", htmlClean(Event.description), "class=\"desc\"")
tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "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" tempB += "!SPLIT"

View File

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