langflow
langflow copied to clipboard
fix: update font size of prompt when validated
This pull request includes several changes to the frontend components and styles to improve the consistency and appearance of the application. The most important changes include updates to class names and styles, as well as the introduction of a utility function for combining class names.
Component updates:
-
src/frontend/src/components/common/sanitizedHTMLWrapper/index.tsx
: Imported thecn
utility function and updated theclassName
property to usecn
for combining class names. [1] [2] -
src/frontend/src/modals/promptModal/index.tsx
: Modified theclassName
property to remove thebg-muted
class and add them-0
class.
Style updates:
-
src/frontend/src/modals/promptModal/utils/var-highlight-html.tsx
: Removed thefont-semibold
class from the HTML string. -
src/frontend/src/style/applies.css
: Added thefont-semibold
class to the.chat-message-highlight
style.