Skip to content

Commit c351197

Browse files
committed
fixed scss
1 parent d9e61bd commit c351197

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

src/assets/scss/pages/story.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
}
1414

1515
.share-story {
16+
background-color: transparent;
17+
border: none;
1618
cursor: pointer;
19+
margin-left: 1em;
1720
}
1821

1922
.share-button {

src/pages/Story.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,13 @@ const Story = (props) => {
221221
onClick={() => setEditor(true)}
222222
>
223223
Edit
224-
</Button>{' '}
225-
&nbsp; &nbsp;
226-
<object className='share-story' onClick={togglePopup}>
227-
<i className='eos-icons share-story'> share </i>
228-
</object>{' '}
229-
&nbsp; &nbsp;
230-
<object className='share-story' onClick={copy}>
224+
</Button>
225+
<Button className='share-story' onClick={togglePopup}>
226+
<i className='eos-icons'> share </i>
227+
</Button>
228+
<Button className='share-story' onClick={copy}>
231229
<i className='eos-icons'>content_copy</i>
232-
</object>
230+
</Button>
233231
</>
234232
) : (
235233
''

0 commit comments

Comments
 (0)