Skip to content

Commit

Permalink
fix(deal/tast/ticket): fix pipeline, board chooser dropdown scrolling…
Browse files Browse the repository at this point in the history
… issue
  • Loading branch information
ganzorig committed Feb 10, 2021
1 parent b908d4b commit 34e190e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/modules/boards/components/MainActionBar.tsx
Expand Up @@ -4,12 +4,12 @@ import Icon from 'modules/common/components/Icon';
import Tip from 'modules/common/components/Tip';
import { __ } from 'modules/common/utils';
import Participators from 'modules/inbox/components/conversationDetail/workarea/Participators';
import { BarItems } from 'modules/layout/styles';
import React from 'react';
import Dropdown from 'react-bootstrap/Dropdown';
import { Link } from 'react-router-dom';
import PipelineWatch from '../containers/PipelineWatch';
import {
BarItems,
HeaderButton,
HeaderLabel,
HeaderLink,
Expand Down
10 changes: 10 additions & 0 deletions ui/src/modules/boards/styles/header.ts
@@ -1,4 +1,5 @@
import { colors, dimensions } from 'modules/common/styles';
import { BarItems as BarItemsCommon } from 'modules/layout/styles';
import styled, { css } from 'styled-components';
import styledTS from 'styled-components-ts';

Expand Down Expand Up @@ -116,3 +117,12 @@ export const HeaderLink = styled(HeaderButton)`
}
}
`;

export const BarItems = styled(BarItemsCommon)`
.dropdown-menu {
max-height: 360px;
max-height: calc(100vh - 120px);
overflow: auto;
background: ${colors.colorWhite};
}
`;

0 comments on commit 34e190e

Please sign in to comment.