Skip to content

Conversation

@hungfnt
Copy link
Contributor

@hungfnt hungfnt commented Apr 23, 2024

No description provided.

@hungfnt hungfnt marked this pull request as draft April 23, 2024 04:17
josecelano
josecelano previously approved these changes Apr 23, 2024
@hungfnt hungfnt marked this pull request as ready for review April 23, 2024 13:10
@josecelano josecelano added the Needs Rebase Base Branch has Incompatibilities label Apr 24, 2024
Copy link
Member

@josecelano josecelano left a comment

Choose a reason for hiding this comment

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

Hi @ngthhu,

Looks good, but you need to rebase it. Also there is a linter error:

 WARN  warning:                                                                                                                                              11:27:59 AM
/home/josecelano/Documents/git/committer/me/github/torrust/torrust-index-gui/components/Markdown.vue
  3:85  warning  Expected a space before '/>', but not found  vue/html-closing-bracket-spacing

✖ 1 problem (0 errors, 1 warning)
  0 errors and 1 warning potentially fixable with the --fix option.

  Plugin: vite-plugin-eslint
  File: /home/josecelano/Documents/git/committer/me/github/torrust/torrust-index-gui/components/Markdown.vue?vue&type=style&index=0&scoped=d6e6bce6&lang.css

This is the patch:

-  <div class="prose max-w-none text-justify word-wrap" v-html="sanitizedDescription"/>
+  <div class="prose text-justify max-w-none word-wrap" v-html="sanitizedDescription" />

The testing workflow should fail here. The linter is failing but the workflow is not. I will open a new issue for that.

You can run the linter locally before committing with:

npm run lint

Or

npm run lintfix

To fix issues that can be fixed automatically.

@josecelano
Copy link
Member

The workflow was not failing because it was only a warning. But I would prefer to make it fail for warnings, too.

fix:[torrust#525] custom word-wrap css class

lint fix
@hungfnt hungfnt force-pushed the fix-text-overflow-2 branch from b043864 to 11478f9 Compare April 24, 2024 13:54
@josecelano
Copy link
Member

ACK 585447a

@josecelano josecelano merged commit 0d834cc into torrust:develop Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Rebase Base Branch has Incompatibilities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Long line in the torrents description are rendered outside of the description div

2 participants