fin fix css reglage
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
padding: 10px 20px 10px 20px;
|
||||||
|
gap: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -55,13 +57,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 640px) {
|
@media (min-width: 640px) {
|
||||||
.content {
|
|
||||||
gap: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section {
|
|
||||||
}
|
|
||||||
|
|
||||||
.submitBtn {
|
.submitBtn {
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
@@ -69,22 +64,4 @@
|
|||||||
.section button {
|
.section button {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
<<<<<<< Updated upstream
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 900px) {
|
|
||||||
.content {
|
|
||||||
padding: 36px;
|
|
||||||
gap: 36px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section {
|
|
||||||
}
|
|
||||||
|
|
||||||
.modifyIcon {
|
|
||||||
height: 30px;
|
|
||||||
width: 30px;
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
>>>>>>> Stashed changes
|
|
||||||
}
|
}
|
||||||
@@ -1,23 +1,3 @@
|
|||||||
/*export default async function getXSRFToken() {
|
|
||||||
const response = await fetch(`${import.meta.env.VITE_API_URL}/sanctum/csrf-cookie`, {
|
|
||||||
method: 'GET',
|
|
||||||
credentials: 'include'
|
|
||||||
});
|
|
||||||
|
|
||||||
if (!response.ok && response.status !== 204) {
|
|
||||||
throw new Error(`Error : ${response.status}`);
|
|
||||||
}
|
|
||||||
|
|
||||||
const name = 'XSRF-TOKEN';
|
|
||||||
const value = `; ${document.cookie}`;
|
|
||||||
const parts = value.split(`; ${name}=`);
|
|
||||||
if (parts.length === 2) {
|
|
||||||
return decodeURIComponent(parts.pop().split(';').shift());
|
|
||||||
}
|
|
||||||
|
|
||||||
throw new Error('Error: Invalid XSRF-TOKEN');
|
|
||||||
}*/
|
|
||||||
|
|
||||||
export default async function getXSRFToken(): Promise<string> {
|
export default async function getXSRFToken(): Promise<string> {
|
||||||
const response = await fetch(`${import.meta.env.VITE_API_URL}/sanctum/csrf-cookie`, {
|
const response = await fetch(`${import.meta.env.VITE_API_URL}/sanctum/csrf-cookie`, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
|
|||||||
Reference in New Issue
Block a user