紧凑布局2x
This commit is contained in:
parent
5ebb20716d
commit
9f8670ed7d
@ -55,7 +55,7 @@ export default class MusicList {
|
||||
this.audio,
|
||||
this.ul,
|
||||
UploadMusic({
|
||||
style: { width: '20rem', height: '5rem', margin: '1rem 2rem' },
|
||||
style: { height: '5rem', margin: '1rem 0' },
|
||||
onchange: files => {
|
||||
for (const file of files) {
|
||||
const id = 'music' + Date.now()
|
||||
@ -77,6 +77,11 @@ export default class MusicList {
|
||||
// 写入 css 样式到 head
|
||||
const style = document.createElement('style')
|
||||
style.innerText = `
|
||||
ul.music-list {
|
||||
scrollbar-width: none;
|
||||
ms-overflow-style: none;
|
||||
}
|
||||
ul.music-list::-webkit-scrollbar { display: none; }
|
||||
ul.music-list > li {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user