[wp-trac] [WordPress Trac] #60501: Plugin card dependencies notice and image can overlap.

WordPress Trac noreply at wordpress.org
Mon Mar 4 11:00:17 UTC 2024


#60501: Plugin card dependencies notice and image can overlap.
--------------------------+-----------------------
 Reporter:  costdev       |       Owner:  costdev
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  6.5
Component:  Plugins       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------

Comment (by swissspidy):

 Instead of adding a new CSS class, can't we just style the existing
 `.plugin-dependencies` class?

 {{{
 .plugin-card .plugin-dependencies {
     background-color: #e5f5fa;
     border-left: 3px solid #72aee6;
     padding: 15px;
     margin: auto 20px 20px;
 }
 }}}

 Though I have to say the class name `plugin-dependencies` is very generic.

 So +1 to reusing existing admin notice classes & styling where possible.

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


More information about the wp-trac mailing list