Skip to content

Commit

Permalink
fix: set max width for featured images to 150px when used in native f…
Browse files Browse the repository at this point in the history
…ield
  • Loading branch information
marcusforsberg committed May 15, 2023
1 parent c1ff88c commit f7334b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css/acf-native-fields.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@
.acf-native-field .postbox-header {
display: none;
}

/* Set max width for featured image */
.acf-native-field #postimagediv .inside img {
max-width: 150px;
width: 100%;
}

0 comments on commit f7334b6

Please sign in to comment.