Skip to content

Commit

Permalink
fix missing css
Browse files Browse the repository at this point in the history
Updates the ID  of the admin-settings.css enqueue  as it was conflicting with the admin.css enqueue ID
  • Loading branch information
psorensen committed Mar 21, 2024
1 parent 0738fea commit c1bb168
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions includes/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ function admin_enqueue_scripts( $hook ) {
if ( file_exists( $asset_file ) ) {
$asset_data = require $asset_file;
}

wp_enqueue_style( 'dt-admin-settings', plugins_url( '/dist/css/admin-settings.min.css', __DIR__ ), array(), $asset_data['version'] );
wp_enqueue_style( 'dt-admin-settings-screen', plugins_url( '/dist/css/admin-settings.min.css', __DIR__ ), array(), $asset_data['version'] );
}
}

Expand Down

0 comments on commit c1bb168

Please sign in to comment.