I would like to ask the following question: 1. After placing the mouse, it becomes a hyperlink 2. Where is the height of the red box classification set?
1 Like
There’s an official theme component for that
Pretty sure the height is not fixed but depends on the font size.
1 Like
Perhaps by inspecting the page?
https://meta.discourse.org/ The boxes are of different heights. It is normal for them to be the same height.
Oh, I see. The category selector and the tag selector are of different heights.
Is it a screenshot from meta.discourse.org, or another forum?
The discrepancy may be because of the font used.
It’s the same here and on Theme Creator.
It seems that the simplified Chinese characters use more height space. You might need to adjust the line-height
CSS property.
Specifically in this composer context, you can try this CSS:
.composer-fields .title-and-category .select-kit .select-kit-header {
line-height: var(--line-height-medium);
}
Before/After:
2 Likes