Removing the break tag between Category Images and Category Name


(Scott Trager) #1

This looks like something that needs to be done in code, but I figured I’d post here and see if anyone has a solution we aren’t considering.

We have a Category page with images assigned to them. We would like to remove the <br> tag between the image and the Category name so we can put them inline. Is there a simple way to do this?


(Sam Saffron) #2

This br is not semantic, we should be using a span here, which would make this easily stylable cc @awesomerobot


(Scott Trager) #3

Any chance this is going to be updated in a near-future release? We have a demonstration coming up and we could make our front page look much closer to our old page if we could make this change.

If not, it’s not the end of the world… just figured I’d check since it should be a relatively simple fix. Thanks in either case :smile:


(Jeff Atwood) #4

Sure @zogstrip could you take this on :fr: Monday?


(Régis Hanol) #5

It’s now fixed :bread:

https://github.com/discourse/discourse/commit/a014507da49032f75a7dc323b554902db49b9b11


(Régis Hanol) #6