-
So, I really like the default theme, but I also really like how the tactile theme scoots over the child tabs, instead of leaving them at the same length as the parent tabs. I got this all up and working, however, I still have one tiny issue. When a tab that is below a given child tab in the hiearchy is at a higher level than that child tab, there's a small little gap that forms, due to the nature of my CSS implementation, I'm just not sure how else to do it. Here's a picture of the issue, with my css. Would really appreciate any suggestions on how to remedy this. Small little bugs like this kill me! See what I mean? How that bottom tab has just a little bit of its border cut off? I have thought about applying a top border to it, but doubling up borders looks weird and isn't something I wanna do :/ CSS
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The places that I have seen this done well seem to do one of two things, from memory anyhow: Play tricks with the location of the top border so that it exactly overlaps the bottom border. Or where it is practical, use the selectors for before/after siblings to use a different styles for the borders in this specific case. |
Beta Was this translation helpful? Give feedback.
-
Figured it out for anyone who's looking in the future. I removed the following lines of CSS:
And replaced it all with the following:
The z-index stuff is to prevent some weird overlap issues that were happening for me, where the child tabs would slightly overlap the parent tabs once the outline was added. If i tried just adding 'margin-top: 1px' to all of the tabs, then some really weird stuff would happen, where dragging and dropping tabs between each other wouldn't properly work. |
Beta Was this translation helpful? Give feedback.
Figured it out for anyone who's looking in the future.
I removed the following lines of CSS: