Skip to content
Snippets Groups Projects
Verified Commit bc49f17f authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: some small css issues; fix missing last line in copy all function

parent fd39394a
No related branches found
No related tags found
No related merge requests found
......@@ -718,7 +718,6 @@ function initEventHandler() {
});
}
});
const eventHandlerDoubleClickCopyToClipboard = (event) => {
......@@ -784,27 +783,32 @@ function initEventHandler() {
let currentIndex= null;
const cols = self.getGridElements(`[data-monster-insert-reference]`);
for (let i = 0; i < cols.length; i++) {
const col = cols[i];
const rowIndexes = new Map();
cols.forEach((col) => {
const index = col.getAttribute("data-monster-insert-reference");
if (currentIndex !== index) {
if (currentRow.length > 0) {
table.push(currentRow);
rowIndexes.set(index, true);
});
rowIndexes.forEach((value, key) => {
const cols = self.getGridElements(`[data-monster-insert-reference="${key}"]`);
for (let i = 0; i < cols.length; i++) {
const col = cols[i];
if (col.querySelector("monster-button-bar") || col.querySelector("monster-button")) {
continue;
}
if (col.textContent) {
currentRow.push(quoteOpenChar+col.textContent.trim()+quoteCloseChar);
}
currentRow = [];
currentIndex = index;
}
if (col.querySelector("monster-button-bar") || col.querySelector("monster-button")) {
continue;
}
if (col.textContent) {
currentRow.push(quoteOpenChar+col.textContent.trim()+quoteCloseChar);
if(currentRow.length > 0) {
table.push(currentRow);
}
}
currentRow = [];
});
if(table.length > 0) {
const text = table.map(row => row.join(delimiterChar)).join(rowBreak);
......
......@@ -107,7 +107,5 @@
@container (min-width: 800px) {
[data-monster-role=pagination] {
background-color: red;
color: red;
}
}
......@@ -262,7 +262,7 @@ div[data-monster-role=selection] {
}
[data-monster-role="no-options"] {
margin: 1.1em 0 0 1.1em;
margin: 1.1em 1.1em 0 1.1em;
padding: 0.3em 0.8em;
border-radius: 0.2em;
color: var(--monster-color-warning-4);
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment