Skip to content
GitLab
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
  • Issues
  • #8945
Closed
Open
Issue created Aug 01, 2013 by Administrator@rootContributor

[3.0 rc1] Google Maps Style Issues caused by * box-sizing

Created by: sixfootsixdesigns

In bootstrap 3 there is a base style in scaffolding.less for

* {
    .box-sizing(border-box);
}

On a google map this causes the info windows to draw the arrow to the marker slightly below the main box. http://grab.by/oYLU

Can you be more specific and just assign the box-sizing to elements that really need it instead of everything getting it on the page?

The only solution I have that seems to work is put a google-maps class on the map div and set its box sizing to content-box

.google-map-canvas {
    .box-sizing(content-box);
}
Assignee
Assign to
Time tracking