Step page: Filament section + fi-prose for text-only steps and markdown#92
Merged
Conversation
…markdown rendering - Wrap text-only and material step content in x-filament::section for consistent panel styling - Use fi-prose class so markdown output (headings, bold, lists) is styled by Filament - Fixes frontend markdown/headers rendering as plain text when custom typography CSS was removed Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
<x-filament::section>for consistent panel styling.fi-proseclass so markdown output (headings, bold, lists, links, etc.) is styled correctly on the frontend.Changes
resources/views/pages/step.blade.php: Usex-filament::sectionandfi-proseinstead of custom wrapper divs and typography classes. KeepsStr::markdown()for conversion.No CSS or asset changes in this PR (step typography was removed in favor of fi-prose).
Made with Cursor
Note
Low Risk
View-only styling refactor (Blade markup/CSS removal) with no changes to data handling or backend logic; risk is limited to potential layout/typography regressions.
Overview
Updates the step page to render
step->textinsidex-filament::sectionand wrap the markdown output in Filament’sfi-prosetypography styles, with a centered/narrower section for text-only steps.Removes the inline custom
.markdown-contentCSS block, relying on Filament styling for consistent markdown rendering across steps.Written by Cursor Bugbot for commit 667a431. This will update automatically on new commits. Configure here.