Adds socketio event for Ctrl+C cancel, style fixes

This commit is contained in:
psychedelicious 2022-10-29 16:57:05 +11:00
parent bfbae09a9c
commit 162e420e9c
5 changed files with 5 additions and 4 deletions

View File

@ -800,6 +800,7 @@ class InvokeAIWebServer:
)
except KeyboardInterrupt:
self.socketio.emit("processingCanceled")
raise
except CanceledException:
self.socketio.emit("processingCanceled")

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
<title>InvokeAI - A Stable Diffusion Toolkit</title>
<link rel="shortcut icon" type="icon" href="./assets/favicon.0d253ced.ico" />
<script type="module" crossorigin src="./assets/index.01c74d27.js"></script>
<link rel="stylesheet" href="./assets/index.3237bca3.css">
<link rel="stylesheet" href="./assets/index.61df3eff.css">
</head>
<body>

View File

@ -20,7 +20,7 @@
.image-gallery-area {
z-index: 10;
height: 100%;
&[data-pinned='false'] {
position: fixed;
height: 100vh;
@ -154,7 +154,6 @@
// from https://css-tricks.com/a-grid-of-logos-in-squares/
.image-gallery {
display: grid;
// grid-template-columns: repeat(auto-fill, minmax(80px, auto));
grid-gap: 0.5rem;
.hoverable-image {
padding: 0.5rem;

View File

@ -8,6 +8,7 @@
.workarea-main {
display: flex;
column-gap: 0.5rem;
height: 100%;
.workarea-options-panel {
width: $options-bar-max-width;