Make WordPress Core


Ignore:
Timestamp:
07/27/2024 12:32:21 PM (2 years ago)
Author:
karmatosed
Message:

Twenty Twenty-Three: Fixes unnecessary borders for links images in Whisper variation.

This fixes the Whisper variation having borders for links images. Other styles did not have this.

Props colorful-tones, sabernhardt.
Fixes #57368.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentythree/styles/whisper.json

    r57690 r58818  
    8484        "styles": {
    8585                "blocks": {
     86                        "core/image": {
     87                                "elements": {
     88                                        "link": {
     89                                                "border": {
     90                                                        "width": "0"
     91                                                },
     92                                                ":hover": {
     93                                                        "color": {
     94                                                                "background": "transparent"
     95                                                        }
     96                                                }
     97                                        }
     98                                }
     99                        },
    86100                        "core/navigation": {
    87101                                "color": {
     
    170184                                }
    171185                        },
     186                        "core/post-featured-image": {
     187                                "elements": {
     188                                        "link": {
     189                                                "border": {
     190                                                        "width": "0"
     191                                                },
     192                                                ":hover": {
     193                                                        "color": {
     194                                                                "background": "transparent"
     195                                                        }
     196                                                }
     197                                        }
     198                                }
     199                        },
    172200                        "core/post-title": {
    173201                                "elements": {
     
    250278                                        "style": "double",
    251279                                        "width": "6px 0 0 0"
     280                                }
     281                        },
     282                        "core/site-logo": {
     283                                "elements": {
     284                                        "link": {
     285                                                "border": {
     286                                                        "width": "0"
     287                                                }
     288                                        }
    252289                                }
    253290                        },
Note: See TracChangeset for help on using the changeset viewer.