[CSS] Problem with color background on mobile


Like u can see in the attached file, i have a problem with the background on the title “Contributeur”. The background color is so long. How i can adapt that for each title please (on mobile) ? Some are short and another are long.

PS : On desktop, its perfect.

Here is the CSS used :

.names .staff ~ span.user-title {
background: rgb(24,65,141);
background: linear-gradient(90deg, rgba(24,65,141,1) 0%, rgba(193,39,45,1) 100%);
color: white !important;
padding: 3px 5px;


I noticed this today while tinkering around and solved with:

.topic-meta-data .names .user-title {
  flex-basis: unset;

It works thank you very much :slight_smile: @tshenry

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.