Skip to content

Commit

Permalink
fixed some layout issues in firefox browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuked88 committed May 25, 2024
1 parent 9aa885a commit 053bac1
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 20 deletions.
3 changes: 2 additions & 1 deletion app/panels/custom_categories/custom_categories.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>



Expand Down
8 changes: 4 additions & 4 deletions app/panels/custom_categories/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}
Expand All @@ -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;
}

Expand Down
5 changes: 3 additions & 2 deletions app/panels/custom_templates/custom_templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
12 changes: 6 additions & 6 deletions app/panels/custom_templates/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

}
Expand All @@ -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;
}

Expand Down
5 changes: 3 additions & 2 deletions app/panels/custom_workflows/custom_workflows.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
8 changes: 4 additions & 4 deletions app/panels/custom_workflows/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}
Expand All @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit 053bac1

Please sign in to comment.