mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
feat(ui-toolkit, cp-frontend): Remove options button from instances list
This commit is contained in:
parent
fe760dcca6
commit
7b8c4f1de9
@ -11,7 +11,6 @@ import {
|
|||||||
CardMeta,
|
CardMeta,
|
||||||
CardTitle,
|
CardTitle,
|
||||||
CardDescription,
|
CardDescription,
|
||||||
CardOptions,
|
|
||||||
typography
|
typography
|
||||||
} from 'joyent-ui-toolkit';
|
} from 'joyent-ui-toolkit';
|
||||||
|
|
||||||
@ -86,7 +85,7 @@ const StatusBadge = ({ status }) => {
|
|||||||
|
|
||||||
const StyledCard = Card.extend`
|
const StyledCard = Card.extend`
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
||||||
&:not(:last-child) {
|
&:not(:last-child) {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
@ -116,7 +115,6 @@ const InstanceCard = ({
|
|||||||
</CardDescription>
|
</CardDescription>
|
||||||
</CardMeta>
|
</CardMeta>
|
||||||
</CardView>
|
</CardView>
|
||||||
<CardOptions onClick={onOptionsClick} />
|
|
||||||
</StyledCard>;
|
</StyledCard>;
|
||||||
|
|
||||||
InstanceCard.propTypes = {
|
InstanceCard.propTypes = {
|
||||||
|
@ -18,7 +18,6 @@ const InnerRow = Row.extend`
|
|||||||
${is('collapsed')`
|
${is('collapsed')`
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
padding-right: ${remcalc(47)};
|
|
||||||
`};
|
`};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user