fix text alignment issue #39
All checks were successful
Build and Push Docker Image / build (push) Successful in 12s
All checks were successful
Build and Push Docker Image / build (push) Successful in 12s
This commit is contained in:
parent
e6195e76c3
commit
4a54a4f655
@ -5,6 +5,7 @@
|
||||
- Breaking: server `default_embed_colour` setting will be reset due to changes on how settings are stored
|
||||
- Enhancement: moved server settinsg from tab to pop-out modal
|
||||
- Enhancement: `active` flag added as server setting, soft-toggles activeness of associated subscriptions
|
||||
- Fix: Bad text alignment for some table button links
|
||||
- Fix & Enhancement: some small clean-up/patches here and there
|
||||
|
||||
**v0.2.2**
|
||||
|
@ -46,7 +46,7 @@ async function initContentTable() {
|
||||
data: "title",
|
||||
className: "text-truncate",
|
||||
render: function(data, type, row) {
|
||||
return `<a href="${row.url}" class="btn btn-link text-decoration-none" target="_blank">${data}</a>`
|
||||
return `<a href="${row.url}" class="btn btn-link text-start text-decoration-none" target="_blank">${data}</a>`
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -54,7 +54,7 @@ async function initContentTable() {
|
||||
data: "subscription.name",
|
||||
className: "text-nowrap",
|
||||
render: function(data, type, row) {
|
||||
return `<button type="button" onclick="goToSubscription(${row.subscription.id})" class="btn btn-link text-decoration-none">${data}</button>`
|
||||
return `<button type="button" onclick="goToSubscription(${row.subscription.id})" class="btn btn-link text-start text-decoration-none">${data}</button>`
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -143,7 +143,7 @@ function resolveChannelNames(guildId) {
|
||||
$("<a>").text(channel.text)
|
||||
.attr("href", href)
|
||||
.attr("target", "_blank")
|
||||
.addClass("btn btn-link text-decoration-none text-nowrap")
|
||||
.addClass("btn btn-link text-start text-decoration-none text-nowrap")
|
||||
);
|
||||
}
|
||||
});
|
||||
|
@ -40,7 +40,7 @@ async function initFiltersTable() {
|
||||
title: "Name",
|
||||
data: "name",
|
||||
render: function(data, type, row) {
|
||||
return `<button type="button" onclick="showEditFilterModal(${row.id})" class="btn btn-link text-decoration-none">${data}</button>`
|
||||
return `<button type="button" onclick="showEditFilterModal(${row.id})" class="btn btn-link text-start text-decoration-none">${data}</button>`
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -43,7 +43,7 @@ async function initSubscriptionTable() {
|
||||
data: "name",
|
||||
className: "text-truncate",
|
||||
render: function(data, type, row) {
|
||||
return `<button type="button" onclick="showEditSubModal(${row.id})" class="btn btn-link text-decoration-none">${data}</button>`;
|
||||
return `<button type="button" onclick="showEditSubModal(${row.id})" class="btn btn-link text-start text-decoration-none">${data}</button>`;
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -51,7 +51,7 @@ async function initSubscriptionTable() {
|
||||
data: "url",
|
||||
className: "text-truncate",
|
||||
render: function(data, type) {
|
||||
return `<a href="${data}" class="btn btn-link text-decoration-none" target="_blank">${data}</a>`;
|
||||
return `<a href="${data}" class="btn btn-link text-start text-decoration-none" target="_blank">${data}</a>`;
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user