[wp-meta] [Making WordPress.org] #6234: In WordPress single photo page spacing issue in tablet and mobile screen
Making WordPress.org
noreply at wordpress.org
Thu Mar 31 12:39:29 UTC 2022
#6234: In WordPress single photo page spacing issue in tablet and mobile screen
---------------------------------------+---------------------
Reporter: multidots1896 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Photo Directory | Resolution:
Keywords: has-screenshots has-patch |
---------------------------------------+---------------------
Comment (by aezazshekh):
Hello @multidots1896
I think there is no padding or no margin added to the image even in
desktop size.
So because of this, there is no padding and no margin in the image even in
mobile size.
We can add a margin in the 'entry-license' section in mobile size, due to
which the page design looks good in mobile size.
Go to this path and add the CSS code below.
/wp-content/themes/pub/wporg-photos/css/components/_site.scss
Add below CSS code
{{{
@media screen and (max-width: 960px)
.entry-license {
margin-left: 20px;
margin-right: 20px;
}
}}}
Thanks
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6234#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list