Merge branch 'release/v2.5.0' of https://github.com/ONLYOFFICE/DocSpace-client into release/v2.5.0
This commit is contained in:
commit
56f6f04d5f
@ -34,31 +34,28 @@ const BannerWrapper = styled.div<{
|
|||||||
}>`
|
}>`
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 140px;
|
min-height: 142px;
|
||||||
max-height: 140px;
|
max-height: 142px;
|
||||||
border-radius: 4px;
|
|
||||||
border: 1px solid ${(props) => props.borderColor};
|
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
background-image: url(${(props) => props.background});
|
background-image: url(${(props) => props.background});
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
background-position: 0% 100%;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: -1000;
|
z-index: -1000;
|
||||||
|
inset: 0px;
|
||||||
|
|
||||||
|
border-radius: 4px;
|
||||||
|
border: 1px solid ${(props) => props.borderColor};
|
||||||
|
|
||||||
${(props) =>
|
${(props) =>
|
||||||
props.theme.interfaceDirection === "rtl" &&
|
props.theme.interfaceDirection === "rtl" &&
|
||||||
css`
|
css`
|
||||||
transform: scaleX(-1);
|
transform: scaleX(-1);
|
||||||
`}
|
`}
|
||||||
|
|
||||||
@media ${mobile} {
|
|
||||||
background-position: 0% 100%;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.close-icon {
|
.close-icon {
|
||||||
|
@ -111,6 +111,7 @@ const CampaignsBanner = (props: CampaignsBannerProps) => {
|
|||||||
fontSize={action?.fontSize}
|
fontSize={action?.fontSize}
|
||||||
fontWeight={action?.fontWeight}
|
fontWeight={action?.fontWeight}
|
||||||
onClick={() => onAction(action?.type, Link)}
|
onClick={() => onAction(action?.type, Link)}
|
||||||
|
isHovered
|
||||||
>
|
>
|
||||||
{ButtonLabel}
|
{ButtonLabel}
|
||||||
</LinkComponent>
|
</LinkComponent>
|
||||||
|
Loading…
Reference in New Issue
Block a user