Skip to content

Commit 555c1bc

Browse files
committed
more Icon
1 parent da0aac9 commit 555c1bc

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

client/modules/IDE/components/CollectionList/CollectionListRow.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import * as ToastActions from '../../actions/toast';
1111
import dates from '../../../../utils/formatDate';
1212

1313
import DownFilledTriangleIcon from '../../../../images/down-filled-triangle.svg';
14+
import MoreIconSvg from '../../../../images/more.svg';
1415

1516
const formatDateCell = (date, mobile = false) =>
1617
dates.format(date, { showTime: !mobile });
@@ -149,7 +150,11 @@ class CollectionListRowBase extends React.Component {
149150
'CollectionListRow.ToggleCollectionOptionsARIA'
150151
)}
151152
>
152-
<DownFilledTriangleIcon title="Menu" />
153+
{this.props.mobile ? (
154+
<MoreIconSvg focusable="false" aria-hidden="true" />
155+
) : (
156+
<DownFilledTriangleIcon focusable="false" aria-hidden="true" />
157+
)}
153158
</button>
154159
{optionsOpen && (
155160
<ul className="sketch-list__action-dialogue">

client/modules/IDE/components/SketchList.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import getConfig from '../../../utils/getConfig';
2323
import ArrowUpIcon from '../../../images/sort-arrow-up.svg';
2424
import ArrowDownIcon from '../../../images/sort-arrow-down.svg';
2525
import DownFilledTriangleIcon from '../../../images/down-filled-triangle.svg';
26+
import MoreIconSvg from '../../../images/more.svg';
2627

2728
const ROOT_URL = getConfig('API_URL');
2829

@@ -198,7 +199,11 @@ class SketchListRowBase extends React.Component {
198199
onFocus={this.onFocusComponent}
199200
aria-label={this.props.t('SketchList.ToggleLabelARIA')}
200201
>
201-
<DownFilledTriangleIcon focusable="false" aria-hidden="true" />
202+
{this.props.mobile ? (
203+
<MoreIconSvg focusable="false" aria-hidden="true" />
204+
) : (
205+
<DownFilledTriangleIcon focusable="false" aria-hidden="true" />
206+
)}
202207
</button>
203208
{optionsOpen && (
204209
<ul className="sketch-list__action-dialogue">

client/styles/components/_sketch-list.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@
5656
right: 0;
5757
width: auto;
5858
margin: #{8 / $base-font-size}rem;
59+
60+
.sketch-list__dropdown-button {
61+
transform: rotateZ(90deg) translateX(-30%);
62+
transform-origin: center;
63+
}
5964
}
6065
}
6166
}

0 commit comments

Comments
 (0)