Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
zesje
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Works on my machine
zesje
Commits
aaee24fa
Commit
aaee24fa
authored
6 years ago
by
Justin van der Krieken
Browse files
Options
Downloads
Patches
Plain Diff
Replace background with border in PDF editor
parent
17055068
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
client/components/PDFEditor.css
+2
-1
2 additions, 1 deletion
client/components/PDFEditor.css
client/components/PDFEditor.jsx
+2
-2
2 additions, 2 deletions
client/components/PDFEditor.jsx
with
4 additions
and
3 deletions
client/components/PDFEditor.css
+
2
−
1
View file @
aaee24fa
.editor-
area
{
.editor-
content
{
background-color
:
#ddd
;
border-radius
:
10px
}
.selection-area
{
position
:
relative
;
...
...
This diff is collapsed.
Click to expand it.
client/components/PDFEditor.jsx
+
2
−
2
View file @
aaee24fa
...
...
@@ -519,7 +519,7 @@ class PDFEditor extends React.Component {
const
renderedWidgets
=
this
.
renderWidgets
()
const
details
=
this
.
renderDetails
()
return
(
<
div
className
=
'
editor-area
columns is-centered'
>
<
div
className
=
'columns is-centered'
>
<
div
className
=
'column is-narrow editor-side-panel'
>
<
div
className
=
'field has-addons is-mobile'
>
<
div
className
=
'control'
>
...
...
@@ -542,7 +542,7 @@ class PDFEditor extends React.Component {
</
div
>
{
details
}
</
div
>
<
div
className
=
'column is-narrow
'
>
<
div
className
=
'column is-narrow
editor-content'
>
<
div
ref
=
{
c
=>
this
.
selectionArea
=
c
}
className
=
'selection-area'
>
<
Document
file
=
{
this
.
getPDFUrl
()
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment