Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
bootstrap
Commits
a134491f
Commit
a134491f
authored
Mar 07, 2015
by
Chris Rebert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add togglable scrollbar-inducing content to Modal visual test
parent
6ddb8c2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
js/tests/visual/modal.html
js/tests/visual/modal.html
+18
-0
No files found.
js/tests/visual/modal.html
View file @
a134491f
...
@@ -13,6 +13,15 @@
...
@@ -13,6 +13,15 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<![endif]-->
<style>
#tall
{
height
:
1500px
;
width
:
100px
;
background-color
:
black
;
color
:
white
;
}
</style>
</head>
</head>
<body>
<body>
...
@@ -122,6 +131,12 @@
...
@@ -122,6 +131,12 @@
Launch demo modal
Launch demo modal
</button>
</button>
<button
id=
"tall-toggle"
class=
"btn btn-default"
>
Toggle tall
<
body
>
content
</button>
<br><br>
<div
id=
"tall"
style=
"display: none;"
>
Tall body content to force the page to have a scrollbar.
</div>
</div>
</div>
<!-- JavaScript Includes -->
<!-- JavaScript Includes -->
...
@@ -137,6 +152,9 @@
...
@@ -137,6 +152,9 @@
$
(
function
()
{
$
(
function
()
{
$
(
'
.js-popover
'
).
popover
()
$
(
'
.js-popover
'
).
popover
()
$
(
'
.js-tooltip
'
).
tooltip
()
$
(
'
.js-tooltip
'
).
tooltip
()
$
(
'
#tall-toggle
'
).
click
(
function
()
{
$
(
'
#tall
'
).
toggle
()
})
})
})
</script>
</script>
...
...
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