fix: style notes sort dropdown

This commit is contained in:
2026-06-28 22:09:08 +08:00
parent 67ac99c24d
commit 4e6188e7cf
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -7,6 +7,10 @@ const root = path.resolve(__dirname, '..');
const sourcePath = path.join(root, 'plugins', 'notes', 'frontend', 'src', 'index.js');
const source = fs.readFileSync(sourcePath, 'utf8');
if (!source.includes('.notes-sort{width:8rem;appearance:none;')) {
throw new Error('notes sort select must use the shared custom dropdown style');
}
class FakeNode {
constructor(tagName) {
this.tagName = String(tagName || '').toUpperCase();