Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

md-tabs: border-radius creates a small gap if used as an expansion of a toolbar #2394

Closed
TalPasi opened this issue Apr 17, 2015 · 2 comments
Closed
Assignees

Comments

@TalPasi
Copy link

TalPasi commented Apr 17, 2015

With the risk of sounding t0o picky, the md-tabs has a border-radius of 2px, this in turn causes a small gap to be visible, once the md-tabs is placed immediately under an md-toolbar that share the same background color (in my case "md-primary")

The arrow in the following image points to the gap

image

@marcysutton
Copy link
Contributor

PRs are welcome :)

@robertmesserle
Copy link
Contributor

I coded for this use-case initially assuming the tabs would live within the toolbar; however, that makes it difficult to include content in your tabs. Added a fix to master, but here's a codepen that includes the new CSS:

http://codepen.io/robertmesserle/pen/655834dc87053dded67734219ed1595d/

(Bower should be updated within the next hour or so, allowing the removal of the custom CSS in this CodePen).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants