Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 4 months ago

#8662 closed defect (bug) (wontfix)

white space found in responsive

Reported by: kajalgohel's profile kajalgohel Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: BuddyPress.org Sites Priority: normal
Severity: normal Version:
Component: BuddyPress.org Sites Keywords: needs-patch has-screenshots
Cc:

Description

In responsive (768px and below), white space found in the right side of below page.

https://buddypress.org/download/

for better understanding I provide the screenshot.

Attachments (3)

Screenshot 2022-03-21 at 3.07.02 PM.png (508.9 KB) - added by kajalgohel 3 years ago.
Screenshot at Mar 22 11-08-28.png (271.4 KB) - added by aezazshekh 3 years ago.
After adding the solution, now the page design looks like this
Download · BuddyPress.org.png (529.3 KB) - added by hilayt24 3 years ago.
After the CSS modification

Download all attachments as: .zip

Change History (8)

#1 @kajalgohel
3 years ago

  • Keywords has-screenshots added

#2 @aezazshekh
3 years ago

Hello @kajalgohel

Adding the below CSS code to this file will solve the design issue.

file-path => /wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/styles/shCore.css

@media screen and ( max-width: 782px ) { 
     .syntaxhighlighter {
          width: auto !important;
     }
}

Than you !

@aezazshekh
3 years ago

After adding the solution, now the page design looks like this

#3 @hilayt24
3 years ago

Hello @kajalgohel and @aezazshekh for the contribution, but I think instead of applying the new CSS we can change the existing CSS.

.syntaxhighlighter {
    max-width: 100%;
    margin: 1em 0 1em 0 !important;
    position: relative !important;
    overflow: auto !important;
    overflow-y: hidden !important;
    font-size: 1em !important;
    padding: 0.5em 1em !important;
}

@hilayt24
3 years ago

After the CSS modification

#4 @imath
20 months ago

  • Milestone changed from Awaiting Review to BuddyPress.org Sites

#5 @espellcaste
4 months ago

  • Resolution set to wontfix
  • Status changed from new to closed

Closing as per #9193

Note: See TracTickets for help on using tickets.