Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !4002

[FIX] elements not hidden

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/digitaldisseny/hiddenbug into master 13 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: digitaldisseny

Some elements doesn't hide even with the hidden classes.

Default behaviour: http://digitaldisseny.com/tmp/hiddenbug/

Patched version: http://digitaldisseny.com/tmp/hiddenbug/working.html

Compare
  • master (base)

and
  • latest version
    d9222db1
    1 commit, 2 years ago

2 files
+ 16
- 16

    Preferences

    File browser
    Compare changes
docs/as‎sets/css‎
bootstrap-re‎sponsive.css‎ +10 -10
le‎ss‎
responsive-u‎tilities.less‎ +6 -6
docs/assets/css/bootstrap-responsive.css
+ 10
- 10
  • View file @ d9222db1


@@ -58,33 +58,33 @@
}
@media (max-width: 767px) {
.visible-phone {
.hidden-desktop {
display: inherit !important;
}
.hidden-phone {
.visible-desktop {
display: none !important;
}
.hidden-desktop {
.visible-phone {
display: inherit !important;
}
.visible-desktop {
.hidden-phone {
display: none !important;
}
}
@media (min-width: 768px) and (max-width: 979px) {
.visible-tablet {
display: inherit !important;
}
.hidden-tablet {
display: none !important;
}
.hidden-desktop {
display: inherit !important;
}
.visible-desktop {
display: none !important ;
}
.visible-tablet {
display: inherit !important;
}
.hidden-tablet {
display: none !important;
}
}
@media (max-width: 480px) {
less/responsive-utilities.less
+ 6
- 6
  • View file @ d9222db1


@@ -20,22 +20,22 @@
// Phones only
@media (max-width: 767px) {
// Hide everything else
.hidden-desktop { display: inherit !important; }
.visible-desktop { display: none !important; }
// Show
.visible-phone { display: inherit !important; } // Use inherit to restore previous behavior
// Hide
.hidden-phone { display: none !important; }
// Hide everything else
.hidden-desktop { display: inherit !important; }
.visible-desktop { display: none !important; }
}
// Tablets & small desktops only
@media (min-width: 768px) and (max-width: 979px) {
// Hide everything else
.hidden-desktop { display: inherit !important; }
.visible-desktop { display: none !important ; }
// Show
.visible-tablet { display: inherit !important; }
// Hide
.hidden-tablet { display: none !important; }
// Hide everything else
.hidden-desktop { display: inherit !important; }
.visible-desktop { display: none !important ; }
}
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
1
CLA Signed
1
CLA Signed
    Assign labels
  • Manage project labels

Milestone
1.7.0
1.7.0
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference: BoltsFramework/Bolts-ObjC!242
Source branch: github/fork/digitaldisseny/hiddenbug

Menu

Explore Projects Groups Snippets