Skip to content

Commit

Permalink
Merge pull request #96 from ulu-telegram/master
Browse files Browse the repository at this point in the history
deploy fixes
  • Loading branch information
ulugmer authored Nov 17, 2023
2 parents 10f6271 + ef4ea4a commit 76075a2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/components/left/main/LeftMainHeader.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,8 @@
justify-content: space-between;
align-items: center;
width: 100%;

.electron-header {
transform: translateY(50px); /* Пример перемещения шапки вниз */
}
}
4 changes: 2 additions & 2 deletions src/components/left/main/LeftMainHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ const LeftMainHeader: FC<OwnProps & StateProps> = ({
{isCurrentUserPremium && <StatusButton />}
</>
) : (
<div className={styles.profileWrapper}>
<div className={`${styles.profileWrapper} ${IS_ELECTRON ? 'electron-header' : ''}`}>
<DropdownMenu
trigger={MainButton}
footer={`${APP_NAME} ${versionString}`}
Expand All @@ -302,7 +302,6 @@ const LeftMainHeader: FC<OwnProps & StateProps> = ({
)}
forceOpen={isBotMenuOpen}
positionX={shouldHideSearch && lang.isRtl ? 'right' : 'left'}
transformOriginX={IS_ELECTRON ? 50 : undefined}
onTransitionEnd={lang.isRtl ? handleDropdownMenuTransitionEnd : undefined}
>
<LeftSideMenuItems
Expand All @@ -318,6 +317,7 @@ const LeftMainHeader: FC<OwnProps & StateProps> = ({
) }
{hasPasscode && (
<Button
round
ripple={!isMobile}
size="tiny"
color="translucent"
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/Button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@

&.pill {
height: 2rem;
border-radius: 1rem;
border-radius: var(--border-radius-default-small);
padding: 0.3125rem 1rem;
font-size: 1rem;
}
Expand Down

0 comments on commit 76075a2

Please sign in to comment.