Skip to content

Commit

Permalink
added warning-triangle-icon for high-vram-warning
Browse files Browse the repository at this point in the history
Signed-off-by: julianbollig <julian.bollig@tngtech.com>
julianbollig committed Jan 30, 2025
1 parent 7a357f0 commit 819a400
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions WebUI/src/assets/css/svg.css
Original file line number Diff line number Diff line change
@@ -170,3 +170,7 @@
.i-fullscreen-exit {
--svg: url('@/assets/svg/fullscreen-exit.svg');
}

.i-warning-triangle {
--svg: url('@/assets/svg/warning-triangle.svg');
}
1 change: 1 addition & 0 deletions WebUI/src/assets/svg/warning-triangle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion WebUI/src/components/SettingsImageWorkflowSelector.vue
Original file line number Diff line number Diff line change
@@ -140,7 +140,8 @@
v-show="imageGeneration.activeWorkflow.requirements?.includes('high-vram')"
:data-tooltip="i18nState.WORKFLOW_HIGH_VRAM_INFO"
>
⚠️ {{ languages.WORKFLOW_HIGH_VRAM_WARNING }}️
<span class="svg-icon text-white align-bottom i-warning-triangle w-5 h-5 px-3"></span>
{{ languages.WORKFLOW_HIGH_VRAM_WARNING }}️
</p>
</div>
<div class="flex gap-2 items-center">

0 comments on commit 819a400

Please sign in to comment.