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
8b17791a
Commit
8b17791a
authored
Apr 08, 2021
by
Lyza Danger Gardner
Committed by
Lyza Gardner
Apr 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some unused annotation-component CSS and simplify
parent
80290c21
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
23 deletions
+2
-23
Annotation.js
src/sidebar/components/Annotation/Annotation.js
+1
-1
AnnotationHeader.js
src/sidebar/components/Annotation/AnnotationHeader.js
+1
-1
Annotation.scss
src/styles/sidebar/components/Annotation.scss
+0
-8
AnnotationBody.scss
src/styles/sidebar/components/AnnotationBody.scss
+0
-7
AnnotationHeader.scss
src/styles/sidebar/components/AnnotationHeader.scss
+0
-6
No files found.
src/sidebar/components/Annotation/Annotation.js
View file @
8b17791a
...
@@ -106,7 +106,7 @@ function Annotation({
...
@@ -106,7 +106,7 @@ function Annotation({
)}
)}
{
isSaving
&&
<
div
className
=
"Annotation__actions"
>
Saving
...
<
/div>
}
{
isSaving
&&
<
div
className
=
"Annotation__actions"
>
Saving
...
<
/div>
}
{
showActions
&&
(
{
showActions
&&
(
<
div
className
=
"
Annotation__actions
"
>
<
div
className
=
"
u-layout-row--justify-right u-stretch
"
>
<
AnnotationActionBar
<
AnnotationActionBar
annotation
=
{
annotation
}
annotation
=
{
annotation
}
onReply
=
{
onReply
}
onReply
=
{
onReply
}
...
...
src/sidebar/components/Annotation/AnnotationHeader.js
View file @
8b17791a
...
@@ -139,7 +139,7 @@ function AnnotationHeader({
...
@@ -139,7 +139,7 @@ function AnnotationHeader({
)}
)}
{
showTimestamps
&&
(
{
showTimestamps
&&
(
<
div
className
=
"
AnnotationHeader__timestamps
"
>
<
div
className
=
"
u-layout-row--justify-right u-stretch
"
>
<
AnnotationTimestamps
<
AnnotationTimestamps
annotationCreated
=
{
annotation
.
created
}
annotationCreated
=
{
annotation
.
created
}
annotationUpdated
=
{
annotation
.
updated
}
annotationUpdated
=
{
annotation
.
updated
}
...
...
src/styles/sidebar/components/Annotation.scss
View file @
8b17791a
...
@@ -17,12 +17,4 @@
...
@@ -17,12 +17,4 @@
.Annotation
{
.Annotation
{
@include
layout
.
vertical-rhythm
;
@include
layout
.
vertical-rhythm
;
&
__reply-toggle
{
@include
buttons
.
button--link
;
}
&
__actions
{
margin-left
:
auto
;
}
}
}
src/styles/sidebar/components/AnnotationBody.scss
View file @
8b17791a
...
@@ -12,11 +12,4 @@
...
@@ -12,11 +12,4 @@
.AnnotationBody__collapse-toggle
{
.AnnotationBody__collapse-toggle
{
@include
layout
.
row
(
right
);
@include
layout
.
row
(
right
);
@include
layout
.
vertical-space
(
var
.
$layout-space--xsmall
);
@include
layout
.
vertical-space
(
var
.
$layout-space--xsmall
);
.AnnotationBody__collapse-toggle-button
{
@include
buttons
.
button--labeled
;
// The button should not have a background color except when hovered/active:
// It should look like text only
background-color
:
transparent
;
}
}
}
src/styles/sidebar/components/AnnotationHeader.scss
View file @
8b17791a
...
@@ -16,12 +16,6 @@
...
@@ -16,12 +16,6 @@
color
:
var
.
$color-text
;
color
:
var
.
$color-text
;
}
}
// Timestamps are right aligned in a flex row
&
__timestamps
{
flex-grow
:
1
;
text-align
:
right
;
}
&
__highlight-icon
{
&
__highlight-icon
{
@include
utils
.
icon--small
;
@include
utils
.
icon--small
;
color
:
var
.
$color-text--light
;
color
:
var
.
$color-text--light
;
...
...
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