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
75d81727
Commit
75d81727
authored
Nov 01, 2021
by
Lyza Danger Gardner
Committed by
Lyza Gardner
Nov 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify styles in `Annotation`
parent
58bac04c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
22 deletions
+1
-22
Annotation.js
src/sidebar/components/Annotation/Annotation.js
+1
-1
Annotation.scss
src/styles/sidebar/components/Annotation.scss
+0
-20
sidebar.scss
src/styles/sidebar/sidebar.scss
+0
-1
No files found.
src/sidebar/components/Annotation/Annotation.js
View file @
75d81727
...
...
@@ -60,7 +60,7 @@ function Annotation({
return
(
<
article
className
=
{
classnames
(
'Annotation'
,
{
className
=
{
classnames
(
'Annotation'
,
'hyp-u-vertical-spacing'
,
{
'Annotation--missing'
:
!
annotation
,
'Annotation--reply'
:
isReply
,
'is-collapsed'
:
threadIsCollapsed
,
...
...
src/styles/sidebar/components/Annotation.scss
deleted
100644 → 0
View file @
58bac04c
@use
'../../mixins/buttons'
;
@use
'../../mixins/layout'
;
@use
'../../variables'
as
var
;
// When hovering a top-level annotation, show the footer in a hovered state.
// When hovering a reply (at any level), show the reply's own footer in
// a hovered state and also the footer of the top-level annotation.
// TODO: Make these work again or remove
.ThreadList__card
:hover
>
.Annotation
,
.Annotation
:hover
{
.Annotation-replies__link
,
.Annotation-replies__count
,
.Annotation-action-btn
{
color
:
var
.
$grey-6
;
}
}
.Annotation
{
@include
layout
.
vertical-rhythm
;
}
src/styles/sidebar/sidebar.scss
View file @
75d81727
...
...
@@ -18,7 +18,6 @@
// Components
// ----------
@use
'./components/Annotation'
;
@use
'./components/AnnotationPublishControl'
;
@use
'./components/AnnotationShareControl'
;
@use
'./components/AutocompleteList'
;
...
...
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