Refactor #6647 - For FileUpload

pull/6650/head
tugcekucukoglu 2024-10-25 15:55:12 +03:00
parent fcfcea766e
commit 915a59dacd
1 changed files with 7 additions and 7 deletions

View File

@ -35,8 +35,8 @@ const theme = ({ dt }) => `
.p-fileupload-content .p-progressbar { .p-fileupload-content .p-progressbar {
width: 100%; width: 100%;
position: absolute; position: absolute;
top: 0; inset-block-start: 0;
left: 0; inset-inline-start: 0;
height: ${dt('fileupload.progressbar.height')}; height: ${dt('fileupload.progressbar.height')};
} }
@ -44,7 +44,7 @@ const theme = ({ dt }) => `
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.5rem; gap: 0.5rem;
margin-top: 1.125rem; margin-block-start: 1.125rem;
} }
.p-fileupload-file { .p-fileupload-file {
@ -52,12 +52,12 @@ const theme = ({ dt }) => `
flex-wrap: wrap; flex-wrap: wrap;
align-items: center; align-items: center;
padding: ${dt('fileupload.file.padding')}; padding: ${dt('fileupload.file.padding')};
border-bottom: 1px solid ${dt('fileupload.file.border.color')}; border-block-end: 1px solid ${dt('fileupload.file.border.color')};
gap: ${dt('fileupload.file.gap')}; gap: ${dt('fileupload.file.gap')};
} }
.p-fileupload-file:last-child { .p-fileupload-file:last-child {
border-bottom: 0; border-block-end: 0;
} }
.p-fileupload-file-info { .p-fileupload-file-info {
@ -71,7 +71,7 @@ const theme = ({ dt }) => `
} }
.p-fileupload-file-actions { .p-fileupload-file-actions {
margin-left: auto; margin-inline-start: auto;
} }
.p-fileupload-highlight { .p-fileupload-highlight {
@ -79,7 +79,7 @@ const theme = ({ dt }) => `
} }
.p-fileupload-advanced .p-message { .p-fileupload-advanced .p-message {
margin-top: 0; margin-block-start: 0;
} }
.p-fileupload-basic { .p-fileupload-basic {