mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 03:39:26 +00:00
Improve text overflow
This commit is contained in:
@@ -1835,7 +1835,7 @@ button:disabled:hover {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.asset-row strong {
|
||||
.asset-row strong, .asset-row small {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -1347,7 +1347,7 @@ export function createAdminConsole({
|
||||
return null;
|
||||
}
|
||||
if (isCodeAsset(asset)) {
|
||||
return `Script order ${getScriptLayerPosition(asset.id)} (above canvas assets)`;
|
||||
return `Order ${getScriptLayerPosition(asset.id)}`;
|
||||
}
|
||||
return `Order ${getLayerPosition(asset.id)}`;
|
||||
}
|
||||
@@ -1527,7 +1527,7 @@ export function createAdminConsole({
|
||||
audioAssets.forEach((asset) => appendAssetListItem(list, asset));
|
||||
}
|
||||
if (codeAssets.length) {
|
||||
list.appendChild(createSectionHeader("Script assets (always on top)"));
|
||||
list.appendChild(createSectionHeader("Script assets"));
|
||||
codeAssets.forEach((asset) => appendAssetListItem(list, asset));
|
||||
}
|
||||
|
||||
|
||||
@@ -807,7 +807,7 @@ export function createCustomAssetModal({
|
||||
importButton.type = "button";
|
||||
importButton.className = "icon-button";
|
||||
importButton.setAttribute("aria-label", "Import script");
|
||||
importButton.innerHTML = '<i class="icon fa-solid fa-download"></i>';
|
||||
importButton.innerHTML = '<i class="icon fa-solid fa-cloud-download"></i>';
|
||||
importButton.addEventListener("click", () => importMarketplaceScript(entry));
|
||||
actions.appendChild(heartButton);
|
||||
actions.appendChild(importButton);
|
||||
|
||||
Reference in New Issue
Block a user