ユーザーフィールドの配置問題について

I did not change any page layout

「いいね!」 1

Does this still occur in safe mode?

「いいね!」 1

yes ,

「いいね!」 1

Hmmm. Yes, so it is. It seems to be these lines on the div.education user field that seem to be the culprit. When they’re deselected in the inspector it comes good. Not sure what is adding them though.

This also happens on my test site:

But only for ‘Education’:

「いいね!」 1

That’s it ,“education” has some kind of magic :smile:

thanks for the reply :slightly_smiling_face:

「いいね!」 2

We use the education class elsewhere

So it seems this is a class collision issue. These user fields should have some kind of prefix to avoid this, so they’re .user-field-education or something.

「いいね!」 3

I’ve just merged in a fix that will update the user field class names to get a prefix… so instead of

.education

it would be

.public-user-field__education

So the next time you update Discourse this issue should go away.

「いいね!」 2

that’s great ,I just updated discourse, it is solved :grin:

「いいね!」 3

This topic was automatically closed after 7 hours. New replies are no longer allowed.