Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
c29d11f7
Commit
c29d11f7
authored
Aug 25, 2019
by
Nick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: scroll anchor preventing text selection
parent
1419e961
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
11 deletions
+7
-11
page.vue
client/themes/default/components/page.vue
+7
-1
app.scss
client/themes/default/scss/app.scss
+0
-10
No files found.
client/themes/default/components/page.vue
View file @
c29d11f7
...
...
@@ -247,7 +247,7 @@ export default {
upBtnShown
:
false
,
scrollOpts
:
{
duration
:
1500
,
offset
:
-
75
,
offset
:
0
,
easing
:
'easeInOutCubic'
},
scrollStyle
:
{
...
...
@@ -309,6 +309,12 @@ export default {
mounted
()
{
Prism
.
highlightAllUnder
(
this
.
$refs
.
container
)
this
.
navShown
=
this
.
$vuetify
.
breakpoint
.
smAndUp
this
.
$nextTick
(()
=>
{
if
(
window
.
location
.
hash
&&
window
.
location
.
hash
.
length
>
1
)
{
this
.
$vuetify
.
goTo
(
window
.
location
.
hash
,
this
.
scrollOpts
)
}
})
},
methods
:
{
goHome
()
{
...
...
client/themes/default/scss/app.scss
View file @
c29d11f7
...
...
@@ -25,16 +25,6 @@
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
position
:
relative
;
&
:before
{
display
:
block
;
content
:
" "
;
width
:
1px
;
margin-top
:
-75px
;
height
:
75px
;
visibility
:
hidden
;
z-index
:
-1
;
}
&
:first-child
{
padding-top
:
0
;
}
...
...
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