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
2ffa0e44
Commit
2ffa0e44
authored
Apr 27, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add maximum bounds variables for so our responsive utilities don't overlap
parent
9ce7f22e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+1
-1
less/responsive-utilities.less
less/responsive-utilities.less
+1
-1
less/variables.less
less/variables.less
+7
-0
No files found.
docs/assets/css/bootstrap.css
View file @
2ffa0e44
...
...
@@ -5341,7 +5341,7 @@ a.list-group-item.active > .badge,
display
:
inherit
!important
;
}
@media
(
min-width
:
768px
)
and
(
max-width
:
99
2
px
)
{
@media
(
min-width
:
768px
)
and
(
max-width
:
99
1
px
)
{
.visible-phone
{
display
:
none
!important
;
}
...
...
less/responsive-utilities.less
View file @
2ffa0e44
...
...
@@ -46,7 +46,7 @@
// Tablets & small desktops only
@media (min-width: @screen-tablet) and (max-width: @screen-
desktop
) {
@media (min-width: @screen-tablet) and (max-width: @screen-
tablet-max
) {
.visible-phone { display: none !important; }
.visible-tablet { display: inherit !important; }
.visible-desktop { display: none !important; }
...
...
less/variables.less
View file @
2ffa0e44
...
...
@@ -375,12 +375,19 @@
// Tiny screen / phone
@screen-tiny: 480px;
@screen-phone: @screen-tiny;
// Small screen / tablet
@screen-small: 768px;
@screen-tablet: @screen-small;
// Medium screen / desktop
@screen-medium: 992px;
@screen-desktop: @screen-medium;
// So media queries don't overlap when required, provide a maximum
@screen-small-max: (@screen-medium - 1);
@screen-tablet-max: @screen-small-max;
// Large screen / wide desktop
@screen-large: 1200px;
@screen-large-desktop: @screen-large;
...
...
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