fixed some layout issues in firefox browser

This commit is contained in:
Nuked
2024-05-25 20:40:16 +02:00
parent 9aa885ad53
commit 053bac146d
7 changed files with 23 additions and 20 deletions
@@ -12,8 +12,9 @@
<div class="h-header" id="h_search" data-content="panel_head_home">
<input type="text" id="searchInputCn" oninput="searchT(this)" placeholder="Search..." autocomplete="off" class="">
<span class="clearIconCustomCategory">×</span>
<span class="searchCategoryIconCustomCategory">C</span> <button id="openModalButton" onclick="openModal()">+</button>
<span class="searchCategoryIconCustomCategory">C</span>
</div>
<button id="openModalButton" onclick="openModal()">+</button>
+4 -4
View File
@@ -16,9 +16,9 @@ padding-top: 44px;
}
#custom_categories_header #h_search {
position: absolute;
width: calc(100% - 74px);
width: calc(100% - 76px);
margin-top: 0px;
left: 10px;
z-index: 400;
}
@@ -33,8 +33,8 @@ border: 2px solid var(--border-color);
color: var(--input-text);
border-radius: 5px;
float: right;
position: absolute;
margin: 2px 2px 2px 8px;
position: relative;
margin: 3px 2px 2px 8px;
cursor: pointer;
}
@@ -4,9 +4,10 @@
autocomplete="off" class="">
<span class="clearIconCustomTemplate">×</span>
<span class="searchTemplateIconCustomTemplate">C</span>
<button id="openModalButton" onclick="custom_templates.openModal()">+</button>
<button id="refreshlButton" onclick="custom_templates.renderList('custom_templates_main')">⭮</button>
</div>
<button id="openModalButton" onclick="custom_templates.openModal()">+</button>
<button id="refreshlButton" onclick="custom_templates.renderList('custom_templates_main')">⭮</button>
</div>
<div id="custom_templates_main">
</div>
+6 -6
View File
@@ -2,12 +2,12 @@
justify-content: center;
align-items: center;
height: 100%;
height: 44px;
margin: 0;
}
#custom_templates_main{
padding-top: 44px;
padding-top: 0px;
}
#custom_templates_header {
margin: 10px 20px;
@@ -16,9 +16,9 @@ padding-top: 44px;
}
#custom_templates_header #h_search {
position: absolute;
width: calc(100% - 115px);
width: calc(100% - 123px);
margin-top: 0px;
left: 10px;
z-index: 400;
}
@@ -33,8 +33,8 @@ border: 2px solid var(--border-color);
color: var(--input-text);
border-radius: 5px;
float: right;
position: absolute;
margin: 2px 2px 2px 8px;
position: relative;
margin: 3px 2px 2px 8px;
cursor: pointer;
}
@@ -4,9 +4,10 @@
autocomplete="off" class="">
<span class="clearIconCustomWorkflow">×</span>
<span class="searchWorkflowIconCustomWorkflow">C</span>
<button id="openModalButton" onclick="custom_workflows.openModal()">+</button>
<button id="refreshlButton" onclick="custom_workflows.renderList('custom_workflows_main')">⭮</button>
</div>
<button id="openModalButton" onclick="custom_workflows.openModal()">+</button>
<button id="refreshlButton" onclick="custom_workflows.renderList('custom_workflows_main')">⭮</button>
</div>
<div id="custom_workflows_main">
</div>
+4 -4
View File
@@ -16,9 +16,9 @@ padding-top: 44px;
}
#custom_workflows_header #h_search {
position: absolute;
width: calc(100% - 115px);
width: calc(100% - 123px);
margin-top: 0px;
left: 10px;
z-index: 400;
}
@@ -33,8 +33,8 @@ border: 2px solid var(--border-color);
color: var(--input-text);
border-radius: 5px;
float: right;
position: absolute;
margin: 2px 2px 2px 8px;
position: relative;
margin: 3px 2px 2px 8px;
cursor: pointer;
}
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui-n-sidebar"
description = "A simple sidebar for ComfyUI."
version = "1.1.1"
version = "1.1.2"
license = "LICENSE"
[project.urls]