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
0dfa6264
Commit
0dfa6264
authored
Oct 15, 2021
by
Lyza Danger Gardner
Committed by
Lyza Gardner
Oct 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use `.hyp-u-stretch`
parent
e585e94e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
12 deletions
+6
-12
Annotation.js
src/sidebar/components/Annotation/Annotation.js
+1
-1
AnnotationHeader.js
src/sidebar/components/Annotation/AnnotationHeader.js
+1
-1
MarkdownEditor.js
src/sidebar/components/MarkdownEditor.js
+1
-1
ModerationBanner.js
src/sidebar/components/ModerationBanner.js
+1
-1
TopBar.js
src/sidebar/components/TopBar.js
+2
-2
util.scss
src/styles/util.scss
+0
-6
No files found.
src/sidebar/components/Annotation/Annotation.js
View file @
0dfa6264
...
...
@@ -106,7 +106,7 @@ function Annotation({
)}
{
isSaving
&&
<
div
className
=
"Annotation__actions"
>
Saving
...
<
/div>
}
{
annotation
&&
showActions
&&
(
<
div
className
=
"hyp-u-layout-row--justify-right u-stretch"
>
<
div
className
=
"hyp-u-layout-row--justify-right
hyp-
u-stretch"
>
<
AnnotationActionBar
annotation
=
{
annotation
}
onReply
=
{
onReply
}
...
...
src/sidebar/components/Annotation/AnnotationHeader.js
View file @
0dfa6264
...
...
@@ -134,7 +134,7 @@ function AnnotationHeader({
)}
{
showTimestamps
&&
(
<
div
className
=
"hyp-u-layout-row--justify-right u-stretch"
>
<
div
className
=
"hyp-u-layout-row--justify-right
hyp-
u-stretch"
>
<
AnnotationTimestamps
annotationCreated
=
{
annotation
.
created
}
annotationUpdated
=
{
annotation
.
updated
}
...
...
src/sidebar/components/MarkdownEditor.js
View file @
0dfa6264
...
...
@@ -343,7 +343,7 @@ function Toolbar({ isPreviewing, onCommand, onTogglePreview }) {
tabIndex
=
{
getTabIndex
(
buttonIds
.
list
)}
title
=
"Bulleted list"
/>
<
span
className
=
"u-stretch"
/>
<
span
className
=
"
hyp-
u-stretch"
/>
<
div
className
=
"MarkdownEditor__toolbar-help-link"
>
<
a
href
=
"https://web.hypothes.is/help/formatting-annotations-with-markdown/"
...
...
src/sidebar/components/ModerationBanner.js
View file @
0dfa6264
...
...
@@ -90,7 +90,7 @@ function ModerationBanner({ annotation, api, toastMessenger }) {
{
annotation
.
hidden
&&
(
<
span
>
Hidden
from
users
.
Flagged
x
{
flagCount
}
<
/span
>
)}
<
span
className
=
"u-stretch"
/>
<
span
className
=
"
hyp-
u-stretch"
/>
<
button
{...
toggleButtonProps
}
>
{
annotation
.
hidden
?
'Unhide'
:
'Hide'
}
<
/button
>
...
...
src/sidebar/components/TopBar.js
View file @
0dfa6264
...
...
@@ -115,7 +115,7 @@ function TopBar({
{
!
isSidebar
&&
(
<
div
className
=
"TopBar__inner content"
>
<
StreamSearchInput
/>
<
div
className
=
"u-stretch"
/>
<
div
className
=
"
hyp-
u-stretch"
/>
<
IconButton
icon
=
"help"
expanded
=
{
isHelpPanelOpen
}
...
...
@@ -130,7 +130,7 @@ function TopBar({
{
isSidebar
&&
(
<
div
className
=
"TopBar__inner content"
>
<
GroupList
/>
<
div
className
=
"u-stretch"
/>
<
div
className
=
"
hyp-
u-stretch"
/>
{
pendingUpdateCount
>
0
&&
(
<
IconButton
icon
=
"refresh"
...
...
src/styles/util.scss
View file @
0dfa6264
...
...
@@ -8,12 +8,6 @@
// Layout
// Use this class to make an element in a flex container "stretchy" and grow
// when there is extra space available.
.u-stretch
{
flex-grow
:
1
;
}
// Put equal, standard spacing between children horizontally
.u-horizontal-rhythm
{
@include
layout
.
horizontal-rhythm
;
...
...
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