When trying to create a new topic on mobile, it seemingly does nothing one first submit button press, and then on second shows "Category not found" error...
Seems to only happen on mobile, tested on iOS chrome.
Show categories vertically in Persona
-
Hi,
Today I have updated nodebb to the last 1.12.2 version. With the update I have lost some of the CSS changes I made. There is one I am unable to restore with the new version of Persona Theme. Before the update, the categories were shown in the frontpage vertically instead of the dafault set up:
This is more an issue of me not knowing that much of CSS. Could anyone help me with this?
Thanks!
-
.category-children-item { display: flex; float: none !important; }
seems to do the trick.
EDIT:
after looking a bit at the topic @crazycells linked and looking at this for a few more minutes I think the better solution would be:.categories .category-children { display: flex; flex-direction: column; }
It doesn't affect how it works, but not using
!important
is the improvement hereOh, and if you want some distance between the items just add
margin-top
ormargin-bottom
to.categories .category-children-item
. -
a related topic you can get some info:
https://community.nodebb.org/topic/14061/persona-theme-subcategory-view-on-main-page
-
@oplik0 said in Show categories vertically in Persona:
.categories .category-children {
display: flex;
flex-direction: column;
}Both of them worked fine.
Thank you very much, guys!