Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/30/2022 08:53:25 PM (3 years ago)
Author:
imath
Message:

BP Nouveau: improve activity list display in Twenty Twenty-Two

When the BuddyPress content width is set to regular (instead of default's wide customizer setting), Avatars in activity entries are overlapping the text. To avoid this, let's apply the workaround used in #8746 for Twenty Twenty-Three companion stylesheet to Twenty Twenty-Two's one.

Fixes #8773

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/sass/twentytwentytwo.scss

    r13289 r13376  
    579579            }
    580580        }
     581
     582        #buddypress.twentytwentytwo:not(.alignwide) {
     583
     584            .activity-list {
     585
     586                .activity-avatar {
     587                    margin-left: 0;
     588                    margin-right: 1em;
     589                    width: auto;
     590
     591                    img.avatar {
     592                        max-width: 25px;
     593                        max-height: 25px;
     594                        margin-bottom: 0;
     595                    }
     596                }
     597
     598                .activity-content {
     599
     600                    .activity-meta.action {
     601                        margin-left: 0;
     602                    }
     603                }
     604            }
     605        }
    581606    }
    582607
     
    631656                    width: auto;
    632657                    margin-right: 0;
     658
     659                    img.avatar {
     660                        max-width: none;
     661                    }
    633662                }
    634663
Note: See TracChangeset for help on using the changeset viewer.