Skip to content

Commit

Permalink
Fix task list label styling.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnXLivingston committed Dec 10, 2024
1 parent 1bea086 commit d0797ba
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 12.0.2

* Fix task list label styling.

## 12.0.1

### Minor changes and fixes
Expand Down
5 changes: 5 additions & 0 deletions conversejs/custom/plugins/tasks/styles/muc-task-lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
.task-list-name {
flex-grow: 2;

label {
// Cancelling the Peertube margin-bottom on labels
margin: 0;
}

form {
display: flex;
flex-flow: row nowrap;
Expand Down
2 changes: 1 addition & 1 deletion conversejs/custom/plugins/tasks/templates/muc-task-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function tplMucTaskList (el, tasklist) {
${!el.edit
? html`
<div class="task-list-name">
<a @click=${el.toggleTasks}>${tasklist.get('name')}</a>
<a @click=${el.toggleTasks}><label>${tasklist.get('name')}</label></a>
</div>
<button type="button" class="task-list-action" title="${i18nCreateTask}" @click=${el.openAddTaskForm}>
<converse-icon class="fa fa-plus" size="1em"></converse-icon>
Expand Down

0 comments on commit d0797ba

Please sign in to comment.