mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix safari display:grid lag
This commit is contained in:
parent
789714b0b1
commit
12413b0be6
File diff suppressed because one or more lines are too long
2
frontend/dist/index.html
vendored
2
frontend/dist/index.html
vendored
@ -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.989a0ca2.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index.4ceb640a.css">
|
||||
<link rel="stylesheet" href="/assets/index.58175ea1.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -1,6 +1,6 @@
|
||||
.hoverable-image {
|
||||
display: grid;
|
||||
grid-template-areas: 'hoverable-image';
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
transition: transform 0.2s ease-out;
|
||||
|
||||
&:hover {
|
||||
@ -9,12 +9,6 @@
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.hoverable-image-image,
|
||||
.hoverable-image-content,
|
||||
.hoverable-image-icons {
|
||||
grid-area: hoverable-image;
|
||||
}
|
||||
|
||||
.hoverable-image-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@ -24,8 +18,14 @@
|
||||
}
|
||||
|
||||
.hoverable-image-content {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
display: flex;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.hoverable-image-check {
|
||||
fill: var(--status-good-color);
|
||||
@ -33,23 +33,23 @@
|
||||
}
|
||||
|
||||
.hoverable-image-icons {
|
||||
grid-area: hoverable-image;
|
||||
position: absolute;
|
||||
bottom: -2rem;
|
||||
display: grid;
|
||||
width: min-content;
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
border-radius: 0.4rem;
|
||||
background-color: var(--background-color-secondary);
|
||||
padding: 0.2rem;
|
||||
gap: 0.2rem;
|
||||
grid-auto-rows: max-content;
|
||||
place-self: center;
|
||||
|
||||
button {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 0.2rem;
|
||||
padding: 10px 0;
|
||||
flex-shrink: 2;
|
||||
svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
|
@ -21,8 +21,8 @@
|
||||
background-color: var(--tab-color);
|
||||
padding: 1rem;
|
||||
animation: slideOut 0.3s ease-out;
|
||||
display: grid;
|
||||
grid-auto-rows: max-content;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
row-gap: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
border-left-width: 0.2rem;
|
||||
@ -31,8 +31,7 @@
|
||||
}
|
||||
|
||||
.image-gallery-header {
|
||||
display: grid;
|
||||
grid-template-columns: auto max-content;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
h1 {
|
||||
@ -48,7 +47,8 @@
|
||||
}
|
||||
|
||||
.image-gallery-container {
|
||||
display: grid;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
max-height: $app-gallery-popover-height;
|
||||
overflow-y: scroll;
|
||||
@ -75,7 +75,7 @@
|
||||
}
|
||||
|
||||
// .image-gallery {
|
||||
// display: grid;
|
||||
// display: flex;
|
||||
// grid-template-columns: repeat(auto-fill, minmax(80px, auto));
|
||||
// gap: 0.5rem;
|
||||
// justify-items: center;
|
||||
@ -98,7 +98,7 @@
|
||||
}
|
||||
|
||||
.image-gallery-container-placeholder {
|
||||
display: grid;
|
||||
display: flex;
|
||||
background-color: var(--background-color-secondary);
|
||||
border-radius: 0.5rem;
|
||||
place-items: center;
|
||||
|
Loading…
Reference in New Issue
Block a user