Skip to content

Commit

Permalink
fix(cards): Left sidebar width error in cards detail (#5192)
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhbatd committed May 9, 2024
1 parent 5213ebe commit 7a18242
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions packages/ui-cards/src/boards/styles/item.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { colors, dimensions } from '@erxes/ui/src/styles';
import styled, { css } from 'styled-components';
import { colors, dimensions } from "@erxes/ui/src/styles";
import styled, { css } from "styled-components";

import Button from '@erxes/ui/src/components/Button';
import { Flex } from '@erxes/ui/src/styles/main';
import { FormContainer } from '../styles/common';
import { StageInfo } from './stage';
import { borderRadius } from './common';
import { rgba } from '@erxes/ui/src/styles/ecolor';
import styledTS from 'styled-components-ts';
import Button from "@erxes/ui/src/components/Button";
import { Flex } from "@erxes/ui/src/styles/main";
import { FormContainer } from "../styles/common";
import { StageInfo } from "./stage";
import { borderRadius } from "./common";
import { rgba } from "@erxes/ui/src/styles/ecolor";
import styledTS from "styled-components-ts";

const buttonColor = '#0a1e3c';
const buttonColor = "#0a1e3c";

export const Content = styled.div`
padding: 12px 22px;
Expand Down Expand Up @@ -152,9 +152,9 @@ export const AddContent = styled.div`
margin-right: ${dimensions.coreSpacing}px;
&:before {
content: '\\e9a8';
content: "\\e9a8";
font-style: normal;
font-family: 'erxes';
font-family: "erxes";
font-size: 16px;
position: absolute;
color: #777;
Expand Down Expand Up @@ -261,6 +261,7 @@ export const SpaceContent = styled(Flex)`
export const LeftContainer = styled.div`
margin-right: ${dimensions.coreSpacing}px;
flex: 1;
width: 60%;
textarea {
resize: none;
}
Expand Down Expand Up @@ -322,7 +323,9 @@ export const MoveContainer = styled(Flex)`
`;

export const MoveContainerWidth = styled(Flex)`
@media (min-width: 1200px){width: 720px;}
@media (min-width: 1200px) {
width: 720px;
}
`;

export const ActionContainer = styled(MoveContainer)`
Expand Down

0 comments on commit 7a18242

Please sign in to comment.