Conversation
|
No issue on my end. @itokatsu @bewizible |
|
l don't really mind the changes this brings about, I think. |
|
Thanks for your contributions especially that bugfix. This aside, looks solid to me. |
|
I thought about that but then you would also have to add: Otherwise the unblurred border would show through the blur when nsfw-blur-contained is off. I also don't like how you can see border abruptly appear if you pay close attention but that's just a minor nitpick. I'm happy with either approach. EDIT: Nevermind, I remembered the reason I went for this approach was because of how hacky this gets. If you move the border to the container then the image doesn't fit properly because of border-radius: 5px, if you override it to 0px then the image corners are over the border and you can't set overflow: hidden because that would just be nsfw-blur-contained=on. In the end the simplest solution would be to set border-radius to 3px and call it good enough. |
|
The best that I can come up with is something like this: |
|
Yeah this is annoying… I think we're better off either removing the border, or the option to have the non-contained blur altogether. |
|
Personally, I am fine with having the blur be contained at all times. This is how I've always used it. |
|
Keeping aside whether the blur should be contained or not when it's below the word box, I feel like for when it's side-by-side we should keep the blur not being contained option as well. Hmm. |
|
I agree, I think the best trade-off between number of users satisfied and clean code would be either this PR in its current state or to make non-contained blur exclusive to side-by-side. |
|
@nuru00 I'm afraid I don't understand one thing, with the PR as it is currently, have we removed non-contained blur entirely? |
|
No, this just fixes a bug with contained blur in alt, with the caveat that the border gets blurred together with the image. IMO, this is better than removing the choice for users to have non-contained blur with alt. |
|
@bewizible Not really a fan of the idea, It will be confusing to have the blur behave differently depending on the layout chosen. |
Agreed. |
The first commit makes the design consistent by making the blurred image have rounded corners




Before:
After:
The second commit fixes main-picture-position: "alt" when it is paired with "nsfw-blur-contained: "on"
Before:
After:
Due to font-size: 0 now being on the container, there is some lost margin that needs to be manually added back.