From 661eb5a8a5ebd0bdfb6daa22a4ee03c441f99a09 Mon Sep 17 00:00:00 2001 From: jankuepper <jan.kuepper1998@googlemail.com> Date: Mon, 16 Oct 2023 17:58:14 +0200 Subject: [PATCH] css Fehler behoben --- src/Components/App.css | 27 +++++++++++++-------------- src/Components/Polls.jsx | 2 +- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/src/Components/App.css b/src/Components/App.css index 442a237..fd65991 100644 --- a/src/Components/App.css +++ b/src/Components/App.css @@ -301,16 +301,16 @@ nav ul li:hover { } .padding-16 { -padding-top: 16px !important; -padding-bottom: 16px !important + padding-top: 16px !important; + padding-bottom: 16px !important } .left { -float: left !important + float: left !important } .right { -float: right !important + float: right !important } .clear { @@ -357,7 +357,7 @@ float: right !important } .medium { -font-size: 15px !important + font-size: 15px !important } /* Meine */ @@ -380,14 +380,14 @@ tr:nth-child(even) { /* Events */ .filter-container { - width: 100%; + width: 100%; display: flex; justify-content: space-between; margin-bottom: 16px; } .filter-container-item { - display: grid; + display: grid; align-items: center; justify-content: center; } @@ -403,13 +403,12 @@ tr:nth-child(even) { } .event-container { - border-radius: 10px 10px 10px 10px; + border-radius: 10px 10px 10px 10px; background-color: rgb(255, 67, 89); text-align: center; color: white; margin: 0px 15px 15px 15px; position: relative; - padding: 15px; } .event-container-view { @@ -425,7 +424,7 @@ tr:nth-child(even) { /* Proposals */ .list-proposals { margin-top: 15px; - width: 100%; + width: 100%; display: inline-block; } @@ -545,20 +544,20 @@ tr:nth-child(even) { @keyframes toast-in-right { from { - transform: translateX(100%); + transform: translateX(100%); } to { - transform: translateX(0); + transform: translateX(0); } } @keyframes toast-in-left { from { - transform: translateX(-100%); + transform: translateX(-100%); } to { - transform: translateX(0); + transform: translateX(0); } } \ No newline at end of file diff --git a/src/Components/Polls.jsx b/src/Components/Polls.jsx index 31bf658..11a7f9e 100644 --- a/src/Components/Polls.jsx +++ b/src/Components/Polls.jsx @@ -74,7 +74,7 @@ function Polls(props) { </div> )} </div> - <div className="event-container" style={{ "display": "flex", "justify-content": "space-between", "padding": "15px" }}> + <div style={{ "display": "flex", "justify-content": "space-between", "padding": "15px" }}> <div className="event-container-item" style={{ width: "300px" }}> {poll.name} {poll.name.match(`${poll.ort}`) ? "" : `(${poll.ort})`} </div> -- GitLab