Skip to content

Commit

Permalink
SL-6206 Конструктор: поехали стили окна загрузки файлов
Browse files Browse the repository at this point in the history
  • Loading branch information
EugiSma committed May 21, 2024
1 parent 713839c commit 5859882
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/hooks/useUploader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@ export const useUploader = ({
<UploaderStyled
callback={onClick}
disabled={loading ? true : disabled}
style={{
width: '120px',
cursor: loading ? 'not-allowed' : 'pointer',
margin: '0',
}}
// style={{
// width: '120px',
// cursor: loading ? 'not-allowed' : 'pointer',
// margin: '0',
// }}
{...other}
>
<div className="wrapper">
<div className="upload-wrapper">
{loading ? (
<span style={{ textTransform: 'none' }}>Загрузка</span>
) : (
Expand Down
6 changes: 3 additions & 3 deletions src/hooks/useUploader/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ export const UploaderInputStyled = styled.input`

export const UploaderStyled = styled(IconButton)`
border-radius: 4px;
box-shadow: 0px 4px 4px rgba(148, 163, 184, 0.24);
box-shadow: 0px 0px 4px rgba(148, 163, 184, 0.24);
padding: 8px;
height: auto;
width: 100%;
margin-bottom: 16px;
margin-block: 10px;
& .wrapper {
& .upload-wrapper {
display: flex;
flex-direction: column;
align-items: center;
Expand Down

0 comments on commit 5859882

Please sign in to comment.