TryGhost/Ghost

View on GitHub
apps/portal/src/components/Frame.styles.js

Summary

Maintainability
D
2 days
Test Coverage

File Frame.styles.js has 1051 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/** By default, CRAs webpack bundle combines and appends the main css at root level, so they are not applied inside iframe
 * This uses a hack where we append `<style> </style>` tag with all CSS inside the head of iframe dynamically, thus making it available easily
 * We can create separate variables to keep styles grouped logically, and export them as one appended string
*/

Severity: Major
Found in apps/portal/src/components/Frame.styles.js - About 2 days to fix

    There are no issues that match your filters.

    Category
    Status