Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
a134491f
Commit
a134491f
authored
10 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
add togglable scrollbar-inducing content to Modal visual test
parent
6ddb8c2d
5 merge requests
!28721
Hot test
,
!16018
Enhancements to Modal visual test
,
!16605
Test pull please ignore
,
!22103
test
,
!25326
Adjust examples
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tests/visual/modal.html
+18
-0
js/tests/visual/modal.html
with
18 additions
and
0 deletions
+18
-0
js/tests/visual/modal.html
+
18
-
0
View file @
a134491f
...
...
@@ -13,6 +13,15 @@
<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>
<![endif]-->
<style>
#tall
{
height
:
1500px
;
width
:
100px
;
background-color
:
black
;
color
:
white
;
}
</style>
</head>
<body>
...
...
@@ -122,6 +131,12 @@
Launch demo modal
</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>
<!-- JavaScript Includes -->
...
...
@@ -137,6 +152,9 @@
$
(
function
()
{
$
(
'
.js-popover
'
).
popover
()
$
(
'
.js-tooltip
'
).
tooltip
()
$
(
'
#tall-toggle
'
).
click
(
function
()
{
$
(
'
#tall
'
).
toggle
()
})
})
</script>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets