Making WordPress.org


Ignore:
Timestamp:
04/18/2024 03:08:12 AM (3 years ago)
Author:
adamwood
Message:

wporg-support-2024: Update Forum table columns

Replace icons with text, adjust widths and alignment.

Fixes ​https://github.com/WordPress/wordpress.org/issues/243

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sass/site/_bbpress.scss

    r13557 r13558  
    586586        }
    587587
    588         li.bbp-forum-freshness,
    589         li.bbp-topic-freshness {
    590                 text-align: left;
    591         }
    592 
    593         .forum-titles {
    594 
    595                 .bbp-topic-voice-count,
    596                 .bbp-topic-reply-count {
    597                         overflow: hidden;
    598 
    599                         &::before {
    600                                 font: 400 16px/1 dashicons;
    601                                 margin-right: 100px;
    602                                 -moz-osx-font-smoothing: grayscale;
    603                                 -webkit-font-smoothing: antialiased;
    604 
    605                                 @media (min-width: 321px) {
    606                                         font: 400 21px/1 dashicons;
    607                                         margin-left: 20px;
    608                                 }
    609                         }
    610                 }
    611 
    612                 .bbp-topic-voice-count {
    613 
    614                         &::before {
    615                                 content: "\f307";
    616                         }
    617                 }
    618 
    619                 .bbp-topic-reply-count {
    620 
    621                         &::before {
    622                                 content: "\f125";
     588        @media screen and (min-width: 321px) {
     589
     590                #bbpress-forums {
     591
     592                        .bbp-header,
     593                        .bbp-body {
     594
     595                                li.bbp-topic-title {
     596                                        width: 60%;
     597                                }
     598
     599                                li.bbp-topic-voice-count,
     600                                li.bbp-topic-reply-count {
     601                                        text-align: left;
     602                                        overflow: hidden;
     603                                        text-overflow: ellipsis;
     604                                }
     605
     606                                li.bbp-topic-voice-count {
     607                                        width: 12%;
     608                                }
     609
     610                                li.bbp-topic-reply-count {
     611                                        width: 8%;
     612                                }
     613
     614                                li.bbp-forum-freshness,
     615                                li.bbp-topic-freshness {
     616                                        text-align: right;
     617                                        width: 20%;
     618                                }
    623619                        }
    624620                }
Note: See TracChangeset for help on using the changeset viewer.