This commit is contained in:
Родитель
1e8ccdc0ff
Коммит
cafcb59c16
|
@ -855,12 +855,10 @@ export class ExtensionEditor extends EditorPane {
|
|||
extensionPackReadme.style.maxWidth = '882px';
|
||||
|
||||
const extensionPack = append(extensionPackReadme, $('div', { class: 'extension-pack' }));
|
||||
if (manifest.extensionPack!.length <= 3) {
|
||||
if (manifest.extensionPack!.length < 3) {
|
||||
extensionPackReadme.classList.add('one-row');
|
||||
} else if (manifest.extensionPack!.length <= 6) {
|
||||
} else if (manifest.extensionPack!.length < 5) {
|
||||
extensionPackReadme.classList.add('two-rows');
|
||||
} else if (manifest.extensionPack!.length <= 9) {
|
||||
extensionPackReadme.classList.add('three-rows');
|
||||
} else {
|
||||
extensionPackReadme.classList.add('more-rows');
|
||||
}
|
||||
|
|
|
@ -517,10 +517,6 @@
|
|||
height: 224px;
|
||||
}
|
||||
|
||||
.extension-editor > .body > .content > .details > .readme-container > .extension-pack-readme.three-rows > .extension-pack {
|
||||
height: 306px;
|
||||
}
|
||||
|
||||
.extension-editor > .body > .content > .details > .readme-container > .extension-pack-readme.more-rows > .extension-pack {
|
||||
height: 326px;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче