Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
persona
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hexang 息壤平台
persona
Commits
e8d75f9f
Commit
e8d75f9f
authored
12 years ago
by
Shane Tomlinson
Browse files
Options
Downloads
Patches
Plain Diff
Declare the "favIconHeight". Fix other JSHint errors.
parent
5d9c16e4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/static/dialog/js/misc/screen_size_hacks.js
+3
-1
3 additions, 1 deletion
resources/static/dialog/js/misc/screen_size_hacks.js
with
3 additions
and
1 deletion
resources/static/dialog/js/misc/screen_size_hacks.js
+
3
−
1
View file @
e8d75f9f
(
function
()
{
"
use strict
"
;
/**
* This is a hack to feign fixed headers/footers and dynamic body content
* size. On mobile, it helps keep the footer at the very bottom of the
...
...
@@ -113,7 +115,7 @@
// the position specified in CSS.
$
(
"
section,#signIn
"
).
css
(
"
position
"
,
""
);
favIconHeight
=
$
(
"
#favicon
"
).
outerHeight
();
var
favIconHeight
=
$
(
"
#favicon
"
).
outerHeight
();
// Force the top of the main content area to be below the favicon area.
signInEl
.
css
(
"
top
"
,
favIconHeight
+
"
px
"
);
...
...
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