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
f4d3d7da
Commit
f4d3d7da
authored
Sep 23, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure 100% width for .uneditable-inputs in <767px viewports
parent
a4bf6ef0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
75 additions
and
0 deletions
+75
-0
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap-responsive.css
+1
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+1
-0
less/forms.less
less/forms.less
+1
-0
less/responsive-767px-max.less
less/responsive-767px-max.less
+1
-0
less/tests/forms-responsive.html
less/tests/forms-responsive.html
+71
-0
No files found.
docs/assets/css/bootstrap-responsive.css
View file @
f4d3d7da
...
...
@@ -820,6 +820,7 @@
margin-left
:
0
;
}
[
class
*=
"span"
],
.uneditable-input
[
class
*=
"span"
],
.row-fluid
[
class
*=
"span"
]
{
display
:
block
;
float
:
none
;
...
...
docs/assets/css/bootstrap.css
View file @
f4d3d7da
...
...
@@ -992,6 +992,7 @@ input[type="color"],
font-size
:
14px
;
line-height
:
20px
;
color
:
#555555
;
vertical-align
:
middle
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
...
...
less/forms.less
View file @
f4d3d7da
...
...
@@ -86,6 +86,7 @@ input[type="color"],
line-height: @baseLineHeight;
color: @gray;
.border-radius(@inputBorderRadius);
vertical-align: middle;
}
// Reset appearance properties for textual inputs and textarea
...
...
less/responsive-767px-max.less
View file @
f4d3d7da
...
...
@@ -58,6 +58,7 @@
}
// Make all grid-sized elements block level again
[class*="span"],
.uneditable-input[class*="span"], // Makes uneditable inputs full-width when using grid sizing
.row-fluid [class*="span"] {
float: none;
display: block;
...
...
less/tests/forms-responsive.html
0 → 100644
View file @
f4d3d7da
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
Bootstrap, from Twitter
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
<!-- Le styles -->
<link
href=
"../../docs/assets/css/bootstrap.css"
rel=
"stylesheet"
>
<link
href=
"../../docs/assets/css/bootstrap-responsive.css"
rel=
"stylesheet"
>
<style>
body
{
padding-top
:
30px
;
padding-bottom
:
30px
;
}
</style>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link
rel=
"shortcut icon"
href=
"../../docs/assets/ico/favicon.ico"
>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"144x144"
href=
"../../docs/assets/ico/apple-touch-icon-144-precomposed.png"
>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"114x114"
href=
"../../docs/assets/ico/apple-touch-icon-114-precomposed.png"
>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"72x72"
href=
"../../docs/assets/ico/apple-touch-icon-72-precomposed.png"
>
<link
rel=
"apple-touch-icon-precomposed"
href=
"../../docs/assets/ico/apple-touch-icon-57-precomposed.png"
>
</head>
<body>
<form
class=
"container"
>
<div
class=
"page-header"
>
<h1>
Fixed grid
</h1>
</div>
<h3>
Vertical alignment
</h3>
<input
type=
"text"
class=
"span2"
placeholder=
"span2"
>
<select
class=
"span2"
><option>
span2
</option></select>
<span
class=
"uneditable-input span2"
>
span1
</span>
<h3>
Width across elements
</h3>
<div>
<input
type=
"text"
class=
"span2"
placeholder=
"span2"
>
</div>
<div>
<select
class=
"span2"
><option>
span2
</option></select>
</div>
<div>
<span
class=
"uneditable-input span2"
>
span2
</span>
</div>
<div
class=
"page-header"
>
<h1>
Fluid grid
</h1>
</div>
<div
class=
"row-fluid"
>
<input
type=
"text"
class=
"span2"
placeholder=
"span2"
>
<select
class=
"span2"
><option>
span2
</option></select>
<span
class=
"uneditable-input span2"
>
span1
</span>
</div>
</form>
<!-- /container -->
</body>
</html>
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