Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
78b5d3ca
Commit
78b5d3ca
authored
Nov 02, 2021
by
Lyza Danger Gardner
Committed by
Lyza Gardner
Nov 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use `Icon` in `AnnotationShareControl`
parent
86a3578f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
AnnotationShareControl.js
src/sidebar/components/Annotation/AnnotationShareControl.js
+2
-6
AnnotationShareControl.scss
src/styles/sidebar/components/AnnotationShareControl.scss
+2
-1
No files found.
src/sidebar/components/Annotation/AnnotationShareControl.js
View file @
78b5d3ca
import
{
import
{
Icon
,
IconButton
,
IconButton
,
SvgIcon
,
TextInput
,
TextInput
,
TextInputWithButton
,
TextInputWithButton
,
useElementShouldClose
,
useElementShouldClose
,
...
@@ -168,11 +168,7 @@ function AnnotationShareControl({
...
@@ -168,11 +168,7 @@ function AnnotationShareControl({
)}
)}
{
showShareLinks
&&
<
ShareLinks
shareURI
=
{
shareUri
}
/>
}
{
showShareLinks
&&
<
ShareLinks
shareURI
=
{
shareUri
}
/>
}
<
/div
>
<
/div
>
<
SvgIcon
<
Icon
name
=
"pointer"
classes
=
"annotation-share-panel__arrow"
/>
name
=
"pointer"
inline
=
{
true
}
className
=
"annotation-share-panel__arrow"
/>
<
/div
>
<
/div
>
)}
)}
<
/div
>
<
/div
>
...
...
src/styles/sidebar/components/AnnotationShareControl.scss
View file @
78b5d3ca
...
@@ -47,9 +47,10 @@
...
@@ -47,9 +47,10 @@
// Position the pointer icon absolutely and flip it to make it point at the
// Position the pointer icon absolutely and flip it to make it point at the
// share icon
// share icon
&
__arrow
{
&
__arrow
{
display
:
inline
;
@include
molecules
.
menu-arrow
(
$direction
:
'down'
);
@include
molecules
.
menu-arrow
(
$direction
:
'down'
);
right
:
0px
;
right
:
0px
;
bottom
:
-
8
px
;
bottom
:
-
12
px
;
}
}
.ShareLinks__icon
{
.ShareLinks__icon
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment