Asst'd mobile CSS & markup fixes.

Kitchen sink commit of semi-related things:
  - `#profile--bio a` tags didn't properly wrap on mobile with some
    browsers. Changing overflow-wrap may fix this.
  - Userpage markup for mobile tried to place profile_bio inside a
    <p> tag. Nesting paragraphs is invalid HTML. It has been made a
    <div> to match desktop and even nearby sections on mobile.
  - Fedi icon in mobile dropdown had the wrong classes, which broke
    consistent styling with its neighbors.
  - fa-square-share-nodes improperly wound up with the fa-share-nodes
    character code when committed.
master
Snakes 2022-06-15 05:59:27 -04:00
parent e5830ebec7
commit f04c3d6cdd
3 changed files with 3 additions and 3 deletions

View File

@ -254,7 +254,7 @@
{% if SITE_NAME == 'rDrama' %}
<a class="nav-item nav-link" href="/discord"><i class="fab fa-discord fa-fw mr-3"></i>Discord</a>
<a class="dropdown-item" href="/post/75863/"><i class="fas fa-square-share-nodes fa-fw mr-3"></i>Fediverse</a>
<a class="nav-item nav-link" href="/post/75863/"><i class="fas fa-square-share-nodes fa-fw mr-3"></i>Fediverse</a>
{% endif %}
{% if SITE_NAME not in ('Cringetopia', 'WPD') %}
<a class="nav-item nav-link" rel="nofollow noopener noreferrer" href="{{config('GUMROAD_LINK')}}"><i class="fas fa-dollar-sign fa-fw mr-3"></i>Donate</a>

View File

@ -429,7 +429,7 @@
<br><span id="profile--joined">joined <span data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.created_datetime}}" class="font-weight-bold">{{u.created_date}}</span></span>
</div>
{% if u.bio_html %}
<p class="text-muted text-break" id="profile--bio">{{u.bio_html | safe}}</p>
<div class="text-muted text-break" id="profile--bio">{{u.bio_html | safe}}</div>
{% endif %}
{% if u.friends_html %}

View File

@ -1,6 +1,6 @@
{%-
set CACHE_VER = {
'css/main.css': 315,
'css/main.css': 316,
'css/4chan.css': 60,
'css/classic.css': 59,