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
3e42c9ac
Commit
3e42c9ac
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 `LoggedOutMessage`
parent
487b2e41
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
12 deletions
+7
-12
LoggedOutMessage.js
src/sidebar/components/LoggedOutMessage.js
+2
-2
LoggedOutMessage.scss
src/styles/sidebar/components/LoggedOutMessage.scss
+0
-10
util.scss
src/styles/util.scss
+5
-0
No files found.
src/sidebar/components/LoggedOutMessage.js
View file @
3e42c9ac
import
{
LinkButton
,
Svg
Icon
}
from
'@hypothesis/frontend-shared'
;
import
{
LinkButton
,
Icon
}
from
'@hypothesis/frontend-shared'
;
import
{
useStoreProxy
}
from
'../store/use-store'
;
import
{
useStoreProxy
}
from
'../store/use-store'
;
...
@@ -46,7 +46,7 @@ function LoggedOutMessage({ onLogin }) {
...
@@ -46,7 +46,7 @@ function LoggedOutMessage({ onLogin }) {
aria
-
label
=
"Hypothesis homepage"
aria
-
label
=
"Hypothesis homepage"
title
=
"Hypothesis homepage"
title
=
"Hypothesis homepage"
>
>
<
SvgIcon
name
=
"logo"
className
=
"LoggedOutMessage__logo-icon
"
/>
<
Icon
name
=
"logo"
classes
=
"u-icon--xlarge hyp-u-color--grey-7
"
/>
<
/a
>
<
/a
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/styles/sidebar/components/LoggedOutMessage.scss
View file @
3e42c9ac
...
@@ -24,13 +24,3 @@
...
@@ -24,13 +24,3 @@
@include
layout
.
row
(
center
);
@include
layout
.
row
(
center
);
margin-top
:
25px
;
margin-top
:
25px
;
}
}
.LoggedOutMessage__logo-icon
{
width
:
30px
;
height
:
30px
;
color
:
var
.
$grey-mid
;
&
:hover
{
color
:
var
.
$grey-7
;
}
}
src/styles/util.scss
View file @
3e42c9ac
...
@@ -57,6 +57,11 @@
...
@@ -57,6 +57,11 @@
@include
utils
.
icon--large
;
@include
utils
.
icon--large
;
}
}
.u-icon--xlarge
{
width
:
30px
;
height
:
30px
;
}
// Misc
// Misc
// Make element content invisible except to assistive technology
// Make element content invisible except to assistive technology
...
...
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