[MM-61966] "Browse or Create channel" menu on the right of team drop-down should use a11y supported menu (#29739)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c205398040
Коммит
1373c05931
@@ -1,3 +1,5 @@
|
||||
$z-index-tour-tips-backdrop: 1250;
|
||||
|
||||
.tour-tip {
|
||||
display: flex;
|
||||
|
||||
@@ -222,7 +224,6 @@
|
||||
|
||||
&__overlay {
|
||||
position: fixed;
|
||||
z-index: 999;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
@@ -357,7 +358,7 @@
|
||||
|
||||
&__backdrop {
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
z-index: $z-index-tour-tips-backdrop;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
|
||||
@@ -21,6 +21,9 @@ import './tour_tip.scss';
|
||||
|
||||
export type TourTipEventSource = 'next' | 'prev' | 'dismiss' | 'jump' | 'skipped' | 'open' | 'punchOut'
|
||||
|
||||
// If this needs to alter, change in _variables $z-index-tour-tips-popover as well
|
||||
const DEFAULT_Z_INDEX_TOUR_TIPS_POPOVER = 1300;
|
||||
|
||||
type Props = {
|
||||
show: boolean;
|
||||
screen: JSX.Element;
|
||||
@@ -84,7 +87,7 @@ export const TourTip = ({
|
||||
placement = 'right-start',
|
||||
showOptOut = true,
|
||||
width = 352,
|
||||
zIndex = 999,
|
||||
zIndex = DEFAULT_Z_INDEX_TOUR_TIPS_POPOVER,
|
||||
hideBackdrop = false,
|
||||
tippyBlueStyle = false,
|
||||
}: Props) => {
|
||||
|
||||
Ссылка в новой задаче
Block a user