mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
fix networks tags display
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
+3
-3
@@ -98,11 +98,11 @@ table.settings-value-table td { padding: 0.4em; border: 1px solid #ccc; max-widt
|
||||
.extra-network-cards .card:hover .overlay { background: rgba(0, 0, 0, 0.40); }
|
||||
.extra-network-cards .card:hover .preview { box-shadow: none; filter: grayscale(100%); }
|
||||
.extra-network-cards .card:hover .overlay { background: rgba(0, 0, 0, 0.40); }
|
||||
.extra-network-cards .card .overlay .tags { margin: 4px; display: none; overflow-wrap: break-word; }
|
||||
.extra-network-cards .card .overlay .tag { padding: 2px; margin: 2px; background: var(--neutral-700); cursor: pointer; display: inline-block; }
|
||||
.extra-network-cards .card .tags { margin: 4px; display: none; overflow-wrap: break-word; }
|
||||
.extra-network-cards .card .tag { padding: 2px; margin: 2px; background: var(--neutral-700); cursor: pointer; display: inline-block; }
|
||||
.extra-network-cards .card .actions > span { padding: 4px; }
|
||||
.extra-network-cards .card:hover .actions { display: block; }
|
||||
.extra-network-cards .card:hover .overlay .tags { display: block; }
|
||||
.extra-network-cards .card:hover .tags { display: block; }
|
||||
.extra-network-cards .card .actions { font-size: 3em; display: none; text-align-last: right; cursor: pointer; font-variant: unicase; position: absolute; z-index: 100; right: 0; height: 0.7em; width: 100%; background: rgba(0, 0, 0, 0.40); }
|
||||
#txt2img_description, #img2img_description, #control_description, #video_description { max-height: 63px; overflow-y: auto !important; }
|
||||
#txt2img_description>label>textarea, #img2img_description>label>textarea, #control_description>label>textarea, #video_description>label>textarea { font-size: 0.9em }
|
||||
|
||||
@@ -900,7 +900,7 @@ svg.feather.feather-image,
|
||||
}
|
||||
|
||||
/* Tags Styles */
|
||||
.extra-network-cards .card .overlay .tags {
|
||||
.extra-network-cards .card .tags {
|
||||
display: none;
|
||||
overflow-wrap: anywhere;
|
||||
position: absolute;
|
||||
@@ -913,7 +913,7 @@ svg.feather.feather-image,
|
||||
}
|
||||
|
||||
/* Individual Tag Styles */
|
||||
.extra-network-cards .card .overlay .tag {
|
||||
.extra-network-cards .card .tag {
|
||||
padding: 2px;
|
||||
margin: 2px;
|
||||
background: rgba(70, 70, 70, 0.60);
|
||||
@@ -961,7 +961,7 @@ svg.feather.feather-image,
|
||||
display: block;
|
||||
}
|
||||
|
||||
.extra-network-cards .card:hover .overlay .tags {
|
||||
.extra-network-cards .card:hover .tags {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
@@ -101,7 +101,6 @@ function readCardDescription(page, item) {
|
||||
const description = gradioApp().querySelector(`#${tabname}_description > label > textarea`);
|
||||
if (description) {
|
||||
description.value = data?.description?.trim() || '';
|
||||
// description.focus();
|
||||
updateInput(description);
|
||||
}
|
||||
setENState({ op: 'readCardDescription', page, item });
|
||||
|
||||
@@ -1194,8 +1194,9 @@ table.settings-value-table td {
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
|
||||
.extra-network-cards .card .overlay .tags {
|
||||
background: var(--body-background-fill);
|
||||
.extra-network-cards .card .tags {
|
||||
background: var(--background-fill-primary);
|
||||
opacity: 0.95;
|
||||
display: none;
|
||||
max-height: 333px;
|
||||
overflow-wrap: anywhere;
|
||||
@@ -1206,11 +1207,11 @@ table.settings-value-table td {
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
.extra-network-cards .card .overlay .tag {
|
||||
background: rgba(70, 70, 70, 0.60);
|
||||
.extra-network-cards .card .tag {
|
||||
background: var(--button-primary-background-fill-hover);
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-size: var(--text-md);
|
||||
font-size: 0.9em !important;
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
}
|
||||
@@ -1242,7 +1243,7 @@ table.settings-value-table td {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.extra-network-cards .card:hover .overlay .tags {
|
||||
.extra-network-cards .card:hover .tags {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user