Add preemptive clear: both to info boxes

This commit is contained in:
Tetrakern 2024-08-02 11:02:37 +02:00
parent 9d2933eb2a
commit fa106b6046
4 changed files with 5 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -29,9 +29,11 @@ if ( function_exists( 'elementor_theme_do_location' ) && elementor_theme_do_loca
$story = $args['story_data'];
$story_id = $args['story_id'];
$post = get_post( $story_id );
$thumbnail_shown = has_post_thumbnail( $story_id ) &&
! get_post_meta( $story_id, 'fictioneer_story_no_thumbnail', true ) &&
get_theme_mod( 'story_cover_position', 'top-left-overflow' ) === 'top-left-overflow';
$tax_shown = ! get_option( 'fictioneer_hide_taxonomies_on_pages' ) &&
$story['has_taxonomies'] &&
! get_post_meta( $story_id, 'fictioneer_story_no_tags', true );

View File

@ -287,6 +287,7 @@ button[type=submit]:where(:not(._inline)),
}
.infobox {
clear: both;
background: var(--infobox-background);
color: var(--fg-600);
border-radius: var(--layout-border-radius-small);