Open brainscript opened 8 years ago
That's not a bug:
A corner label must be positioned inside a container with position: relative to display properly. If a container is rounded you will need to add overflow:hidden to the container to produce a rounded label.
@tabeth
.ui.corner.labeled.field
position: relative
overflow: hidden
Like this? It still looks the same ...
Oh, I have to add the overflow: hidden
to the corner label itself.
Yeah. I was about to create a jsfiddle, but it sounds like you got it.
But why is this not enabled by default for all corner labels inside of input fields (They are rounded ...)?
That's a good point. If no one else gets to this I'll submit a PR for that.
There has been no activity in this thread for 90 days. While we care about every issue and we’d love to see this fixed, the core team’s time is limited so we have to focus our attention on the issues that are most pressing. Therefore, we will likely not be able to get to this one.
However, PRs for this issue will of course be accepted and welcome!
If there is no more activity in the next 90 days, this issue will be closed automatically for housekeeping. To prevent this, simply leave a reply here. Thanks!
As you can see on the screenshot, the corners of the
ui corner label
stick out of the input field. That's hard to notice without adding a color, but if you do this really looks quite ugly ...Is this supposed to happen? Or is it my mistake? :confused:
If it's a bug, please fix it. It's such a pain in the eye to me ... :eyes:
Note
I figured out to do this know, but I think you should ...
overflow: hidden
to allcorner label
s insidecorner labeled input field
s by default.