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
3b5e0c9a
Commit
3b5e0c9a
authored
Dec 10, 2013
by
Tobias Lindig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hide space characters in input-group-btn to fix segmented buttons double border
parent
a6b5c7db
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
dist/css/bootstrap.css
dist/css/bootstrap.css
+2
-1
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/input-groups.less
less/input-groups.less
+4
-2
No files found.
dist/css/bootstrap.css
View file @
3b5e0c9a
...
...
@@ -3301,6 +3301,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
}
.input-group-btn
{
position
:
relative
;
font-size
:
0
;
white-space
:
nowrap
;
}
.input-group-btn
:first-child
>
.btn
{
...
...
@@ -3313,7 +3314,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
position
:
relative
;
}
.input-group-btn
>
.btn
+
.btn
{
margin-left
:
-
4
px
;
margin-left
:
-
1
px
;
}
.input-group-btn
>
.btn
:hover
,
.input-group-btn
>
.btn
:active
{
...
...
dist/css/bootstrap.min.css
View file @
3b5e0c9a
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/input-groups.less
View file @
3b5e0c9a
...
...
@@ -112,7 +112,10 @@
// -------------------------
.input-group-btn {
position: relative;
// Jankily prevent input button groups from wrapping
white-space: nowrap;
// in combination with inline-blocks and nowrap, space characters would take visible space
font-size: 0;
// Negative margin to only have a 1px border between the two
&:first-child > .btn {
...
...
@@ -124,9 +127,8 @@
}
.input-group-btn > .btn {
position: relative;
// Jankily prevent input button groups from wrapping
+ .btn {
margin-left: -
4
px;
margin-left: -
1
px;
}
// Bring the "active" button to the front
&:hover,
...
...
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