Add stopgaps to fill the second row

This commit is contained in:
Cohee 2024-06-22 00:11:08 +03:00
parent 6380e0a062
commit 791ce3da86
3 changed files with 14 additions and 0 deletions

View File

@ -143,6 +143,11 @@ export class AutoCompleteOption {
}
li.append(specs);
}
const stopgap = document.createElement('span'); {
stopgap.classList.add('stopgap');
stopgap.textContent = '';
li.append(stopgap);
}
const help = document.createElement('span'); {
help.classList.add('help');
const content = document.createElement('span'); {

View File

@ -175,6 +175,11 @@ export class SlashCommand {
}
li.append(specs);
}
const stopgap = document.createElement('span'); {
stopgap.classList.add('stopgap');
stopgap.textContent = '';
li.append(stopgap);
}
const help = document.createElement('span'); {
help.classList.add('help');
const content = document.createElement('span'); {

View File

@ -1723,6 +1723,10 @@ body[data-stscript-style] .hljs.language-stscript {
}
}
}
>.stopgap {
opacity: 0.75;
}
}
}