Merge pull request #364 from ONLYOFFICE/bugfix/rtl-fixes

Bugfix/rtl fixes
This commit is contained in:
Alexey Safronov 2024-04-19 17:14:24 +04:00 committed by GitHub
commit ed2830243f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 8 deletions

View File

@ -261,6 +261,10 @@ const StyledContextMenu = styled.div<{
-webkit-touch-callout: none;
@media ${tablet} {
padding: 0 16px;
}
&:hover {
background-color: ${(props) =>
props.noHover
@ -300,10 +304,11 @@ const StyledContextMenu = styled.div<{
}
.p-contextmenu .scroll-body .p-menuitem {
margin-right: ${(props) => `-${props.theme.scrollbar.paddingInlineEnd}`};
margin-inline-end: ${(props) =>
`-${props.theme.scrollbar.paddingInlineEnd}`};
@media ${mobile} {
margin-right: ${(props) =>
margin-inline-end: ${(props) =>
`-${props.theme.scrollbar.paddingInlineEndMobile}`};
}
}

View File

@ -597,12 +597,7 @@ const StyledSortButton = styled.div<{ viewAs: TViewAs; isDesc: boolean }>`
bottom: auto;
min-width: 200px;
margin-top: 3px;
${isMobile &&
isIOS &&
css`
right: 48px;
`}
width: auto;
.view-selector-item {
display: flex;

View File

@ -684,6 +684,7 @@ const StyledBox = styled.div<{
@media ${mobile} {
width: ${({ dropBoxWidth }) => `${dropBoxWidth}px`};
padding-top: 10px !important;
inset-inline-start: 0;
}
`;