Add our a CSS to taskbody.vue that looks something like: .task-body__info .title a { margin: unset; }
Easy to do but maybe not the best for maintainability
change styles.scss in nextcloud/server
Probably not a good idea since it may be used many places but at the same time. But why would all external links in all of nextcloud be indented by 3px? Maybe this should be fixed?
⚠️ This issue respects the following points: ⚠️
Bug description
Originally reported in https://github.com/nextcloud/tasks/issues/2500
This issue is in the tasks app but the code causing it lives here.
Steps to reproduce
Expected behavior
The task title is in line with non-URL titles.
Actual behaviour
It is off by 3px
Towards solutions
This appears to be caused by the
a.external
CSS which adds a margin.Looks like it actually comes from here in
nextcloud/server/.../styles.scss
.The external class is added by calling linkify on this line: https://github.com/nextcloud/tasks/blob/8a1a4ab193e02a0c3e9c22817e39e46c99b6e180/src/components/TaskBody.vue#L53
The linkify function always adds the external class: https://github.com/nextcloud-libraries/nextcloud-vue/blob/87322fabb7f12ed9a64862903a204969ee45c632/src/utils/Linkify.js#L30-L39
So the way I see it there are a few options:
.task-body__info .title a { margin: unset; }
Installation method
None
Nextcloud Server version
master
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response