Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Knowledge Space WP Plugin
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
alg
Knowledge Space WP Plugin
Commits
6cc13fec
Commit
6cc13fec
authored
3 years ago
by
Matthias Konitzny
Browse files
Options
Downloads
Patches
Plain Diff
Fixes text selection problems for older browser versions.
parent
eb9b0f28
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
display/display.css
+10
-0
10 additions, 0 deletions
display/display.css
display/graph.js
+1
-0
1 addition, 0 deletions
display/graph.js
with
11 additions
and
0 deletions
display/display.css
+
10
−
0
View file @
6cc13fec
...
...
@@ -43,6 +43,16 @@
z-index
:
1
;
}
.no-select
{
-webkit-touch-callout
:
none
;
/* iOS Safari */
-webkit-user-select
:
none
;
/* Safari */
-khtml-user-select
:
none
;
/* Konqueror HTML */
-moz-user-select
:
none
;
/* Old versions of Firefox */
-ms-user-select
:
none
;
/* Internet Explorer/Edge */
user-select
:
none
;
/* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
}
.close-button
{
pointer-events
:
all
;
z-index
:
99
;
...
...
This diff is collapsed.
Click to expand it.
display/graph.js
+
1
−
0
View file @
6cc13fec
...
...
@@ -442,6 +442,7 @@ export default class Graph {
const
labelDiv
=
Helpers
.
createDiv
(
"
node-label
"
,
nodeDiv
,
{
textContent
:
node
.
name
,
});
labelDiv
.
classList
.
add
(
"
no-select
"
);
labelDiv
.
style
.
color
=
node
.
color
;
const
cssobj
=
new
CSS3DSprite
(
nodeDiv
);
...
...
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