[wp-trac] [WordPress Trac] #58498: Twenty Fifteen: Cover and File blocks spacing (was: Twenty Fifteen Theme - Cover and file widget UI Issue)

WordPress Trac noreply at wordpress.org
Tue Jun 20 05:22:06 UTC 2023


#58498: Twenty Fifteen: Cover and File blocks spacing
---------------------------+------------------------------
 Reporter:  mayur8991      |       Owner:  (none)
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  6.2.2
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  css
---------------------------+------------------------------
Changes (by sabernhardt):

 * focuses:  ui, css => css


Comment:

 If you mean that the Cover block overlaps the File block download link,
 that should be fixed by the addition of `display: inline-block` in
 GB41870.

 If you want space between the blocks, that would be another matter. In the
 editor, blocks have space in between them to make room for the inserter
 that appears when you hover the cursor above it. On the front, blocks such
 as Cover, Group or Columns probably should not have margins automatically.
 File blocks should have some space; they have a
 [https://github.com/WordPress/gutenberg/blob/146481457586a17987435290b0626be0ad280a5a/packages
 /block-library/src/file/style.scss#L21-L23 default bottom margin] of
 `1.5em` but for some reason do not have the same on top. I think that
 would be better to address this in the File block styles than in
 individual themes.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58498#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list