fin de fix css eventPage
This commit is contained in:
@@ -35,17 +35,17 @@ export default function CreateEventBtn() {
|
|||||||
|
|
||||||
<section className={styles.section}>
|
<section className={styles.section}>
|
||||||
<div className={styles.inputContainer}>
|
<div className={styles.inputContainer}>
|
||||||
<h2>Titre</h2>
|
<h3>Titre</h3>
|
||||||
<TextInput className={styles.input} placeholder={"Nom de l'événement"} value={name} onChange={e => setName(e.target.value)} />
|
<TextInput className={styles.input} placeholder={"Nom de l'événement"} value={name} onChange={e => setName(e.target.value)} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={styles.inputContainer}>
|
<div className={styles.inputContainer}>
|
||||||
<h2>Description</h2>
|
<h3>Description</h3>
|
||||||
<TextInput className={styles.input} placeholder={"Description de l'événement"} value={description} onChange={e => setDescription(e.target.value)} />
|
<TextInput className={styles.input} placeholder={"Description de l'événement"} value={description} onChange={e => setDescription(e.target.value)} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={styles.inputContainer}>
|
<div className={styles.inputContainer}>
|
||||||
<h2>Date</h2>
|
<h3>Date</h3>
|
||||||
<div className={styles.dateInputContainer}>
|
<div className={styles.dateInputContainer}>
|
||||||
<div className={styles.dateInput}>
|
<div className={styles.dateInput}>
|
||||||
<p>Début</p>
|
<p>Début</p>
|
||||||
|
|||||||
@@ -20,16 +20,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.inputContainer {
|
.inputContainer {
|
||||||
|
margin: 0.5em;
|
||||||
h2 {
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
margin: 1em;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.input {
|
.input {
|
||||||
@@ -51,17 +45,18 @@
|
|||||||
.dateInputContainer {
|
.dateInputContainer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-evenly;
|
gap: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dateInput {
|
.inputContainer h3{
|
||||||
margin: 1em;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media screen and (max-width: 760px) {
|
@media screen and (max-width: 900px) {
|
||||||
|
|
||||||
.dateInputContainer {
|
.dateInputContainer {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
gap: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,15 +1,15 @@
|
|||||||
.eventsContainer {
|
.eventsContainer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 10px;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
margin: 16px 0 16px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.eventsList {
|
.eventsList {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10px;
|
gap: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.eventCard {
|
.eventCard {
|
||||||
@@ -48,31 +48,10 @@
|
|||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 768px) {
|
|
||||||
.eventCard {
|
|
||||||
max-width: 600px;
|
|
||||||
padding: 16px 12px;
|
|
||||||
}
|
|
||||||
.eventCard h3 {
|
|
||||||
font-size: 1.2rem;
|
|
||||||
white-space: normal;
|
|
||||||
overflow: visible;
|
|
||||||
text-overflow: clip;
|
|
||||||
}
|
|
||||||
.eventCard p {
|
|
||||||
font-size: 1rem;
|
|
||||||
white-space: normal;
|
|
||||||
overflow: visible;
|
|
||||||
text-overflow: clip;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media screen and (min-width: 1024px) {
|
@media screen and (min-width: 1024px) {
|
||||||
.eventsContainer {
|
.eventsContainer {
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
.eventsList {
|
|
||||||
gap: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.eventCard {
|
.eventCard {
|
||||||
max-width: 700px;
|
max-width: 700px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
.eventContainer {
|
.eventContainer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin: 1rem 0;
|
|
||||||
width: 80%;
|
width: 80%;
|
||||||
padding: 1rem 0.5rem;
|
padding: 10px 20px 10px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.eventContainer:hover {
|
.eventContainer:hover {
|
||||||
@@ -118,8 +117,15 @@
|
|||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.eventContainerTop {
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: initial;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.eventContainer{
|
.eventContainer{
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
margin: 16px 0 16px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.eventImageDiv {
|
.eventImageDiv {
|
||||||
@@ -131,6 +137,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.eventInfos, .eventContainerBottom {
|
.eventInfos, .eventContainerBottom {
|
||||||
padding: 10px;
|
padding: 10px 20px 10px 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,6 @@
|
|||||||
gap: 20px;
|
gap: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.modifyIcon {
|
.modifyIcon {
|
||||||
height: 26px;
|
height: 26px;
|
||||||
width: 26px;
|
width: 26px;
|
||||||
@@ -31,7 +30,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.section h4 {
|
.section h4 {
|
||||||
font-size: 0.9rem;
|
font-size: 1rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
opacity: 0.85;
|
opacity: 0.85;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user