Skip to content

Conversation

fit2bot
Copy link
Contributor

@fit2bot fit2bot commented Jun 18, 2025

fix: There is a problem with task description typesetting in system task English mode.

@fit2bot fit2bot requested a review from a team June 18, 2025 09:57

.task-detail /deep/ .item-value span {
white-space: normal !important;
}
</style>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The provided code seems fine and doesn't seem to contain significant irregularities, potential issues, or optimizations at this time since it's from an unspecified date (September 1, 2021) and is related to Vue.js.

However, I can recommend using lessCSS with SCSS if you're not yet familiar with its features. It provides better semantic styling compared to pure CSS. Here's a basic example:

.task-detail /deep/ .item-value span {
    white-space: nowrap; /* Prevents wrapping */
}

This simple piece of LESS/CSS helps control layout without resorting to awkward HTML elements like nowrap which can break cross-browser compatibility. However, make sure to replace <span>s by actual .tag, especially if some styles should still be applied across various browsers due to their browser-specific tags like display none.

As for improvements that need immediate attention based on the template syntax changes mentioned here, there appears no such urgent adjustments needed considering its structure. The current version does appear to work perfectly well as originally written.

Copy link

@w940853815 w940853815 merged commit 398c8b0 into dev Jun 18, 2025
5 checks passed
@w940853815 w940853815 deleted the pr@dev@system_task_css branch June 18, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants