Skip to content

Commit 3dc7686

Browse files
committedJun 15, 2019
Tweak expand button
1 parent 76dfe01 commit 3dc7686

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed
 

‎app/assets/style.css

+5-4
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,20 @@ svg#edges {
6565
}
6666

6767
.item-container > .button {
68-
border: 1px solid lightgrey;
68+
border: none;
6969
cursor: pointer;
7070
position: absolute;
7171
bottom: 2px;
7272
right: 2px;
73-
background-color: #fff;
74-
border-radius: 2px;
75-
padding: 2px;
73+
background: transparent;
74+
border-radius: 4px;
75+
padding: 4px;
7676
opacity: 0.4;
7777
}
7878

7979
.item-container > .button:hover {
8080
opacity: 1;
81+
background-color: #fff;
8182
}
8283

8384
.emptyItem {

‎src/canvas/components/ItemContainer.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ let ItemContainer = React.createClass({
5959
<button
6060
className="button"
6161
onClick={toggleExpand}
62+
title="Expand"
6263
>
63-
64+
6465
</button>
6566
)}
6667
</div>

0 commit comments

Comments
 (0)
Please sign in to comment.