Skip to content

Commit 7cd78d5

Browse files
committed
fix position in team section
1 parent 128e7fe commit 7cd78d5

2 files changed

Lines changed: 10 additions & 11 deletions

File tree

projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
}
149149
</div>
150150

151-
<div class="project__team-tooltip">
151+
<div class="project__tooltip">
152152
<div class="tooltip">
153153
<app-tooltip color="grey" iconSize="40" (show)="isHintTeamVisible.set(true)"></app-tooltip>
154154

projects/social_platform/src/app/office/projects/edit/shared/project-team-step/project-team-step.component.scss

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@use "styles/typography";
55

66
.project {
7-
position: relative;
7+
max-width: 1280px;
88

99
&__inner {
1010
width: 100%;
@@ -73,15 +73,14 @@
7373
transform: translateY(-50%);
7474
}
7575

76-
&__team {
77-
position: relative;
78-
79-
&-tooltip {
80-
position: absolute;
81-
right: 0;
82-
bottom: 0;
83-
transform: translateY(calc(var(--app-height) * 0.47));
84-
}
76+
&__tooltip {
77+
position: fixed;
78+
right:
79+
calc(
80+
(100vw - 1080px) / 2
81+
);
82+
bottom: 24px;
83+
z-index: 30;
8584
}
8685
}
8786

0 commit comments

Comments
 (0)