Web: Client: UploadPanel. fix styles

This commit is contained in:
Elyor Djalilov 2024-07-24 11:17:17 +05:00
parent faac37843b
commit b8a61b2823
4 changed files with 7 additions and 8 deletions

View File

@ -96,14 +96,8 @@ const StyledFileRow = styled(Row)`
.password-input {
position: absolute;
top: 48px;
${(props) =>
props.theme.interfaceDirection === "rtl"
? css`
right: 16px;
`
: css`
left: 16px;
`}
left: 0px;
right: 0px;
max-width: 470px;
width: calc(100% - 16px);
display: flex;

View File

@ -33,6 +33,9 @@ import { useTheme } from "styled-components";
const StyledLoadErrorIcon = styled(LoadErrorIcon)`
outline: none !important;
path {
fill: ${(props) => props.theme.filesPanels.upload.iconColor};
}
`;
const ErrorFileUpload = ({

View File

@ -2717,6 +2717,7 @@ export const getBaseTheme = () => {
upload: {
color: gray,
tooltipColor: lightCumulus,
iconColor: lightErrorStatus,
shareButton: {
color: gray,

View File

@ -2695,6 +2695,7 @@ const Dark: TTheme = {
upload: {
color: black,
tooltipColor: "#F5E9BA",
iconColor: darkErrorStatus,
shareButton: {
color: gray,