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
  • #14682
Closed
Open
Issue created Sep 24, 2014 by Administrator@rootContributor

blockquote in list has ugly top 'padding' due to poor clearfix

Created by: Daniel-Hug

Take a look at this demo:

http://jsbin.com/hawabi/1/edit?html,output

See that ugly spacing above the text in the blockquote? That's because its clearfix is done poorly:

// Quotes
blockquote:before,
blockquote:after {
  content: "";
}

It's missing the essential display: table; that is seen in Nicolas Gallagher's micro clearfix hack.

From that link:

The use of table rather than block is only necessary if using :before to contain the top-margins of child elements.

Assignee
Assign to
Time tracking