Skip to content

Commit

Permalink
Merge branch 'anapnoe:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
martianunlimited committed Nov 16, 2023
2 parents 5bc0f47 + da22a58 commit 0e0fbf8
Showing 1 changed file with 51 additions and 16 deletions.
67 changes: 51 additions & 16 deletions extensions-builtin/anapnoe-sd-uiux/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,9 @@ body {
position: relative;
} */

* [data-testid="image"] img {
/* * [data-testid="image"] img {
max-height: 40vh;
}
} */

*.block {
border: 0 !important;
Expand Down Expand Up @@ -768,16 +768,49 @@ button:hover .mask-icon{
display: flex;
justify-content: center;
align-items: center;
min-height: 25vh;
min-height: 15vh;
width: 100%;
height: 100%;
position: absolute !important;
top:0;
}
:not(.portal)>.gradio-video .wrap{
position: relative !important;
z-index: 0;
}

[data-testid="block-info"] {
display: flex;
flex-direction: column;
text-wrap: wrap;
}
.gradio-video .controls .inner{
display: flex;
max-height: 25px;
gap: 5px;
align-items: center;
}
.gradio-video .controls .inner > *{
display: flex;
text-wrap: nowrap;
}
.gradio-video .controls .inner > progress{
display: flex;
flex-grow: 1;
min-width: 50%;
}
.gradio-video .controls .inner > [role="button"]{
max-width: 20px;
}
.gradio-video .controls {
width: 100%;
padding: 5px;
}
.gradio-video .svelte-19sk1im{
position: absolute;
z-index: 2;
padding: var(--ae-panel-padding);
right: var(--ae-panel-padding);
}

*.gradio-dropdown {
overflow: visible !important;
Expand Down Expand Up @@ -1421,12 +1454,14 @@ li.item span {
width: 100%;
}

* .gradio-video video,
* [data-testid="image"] img {
object-fit: contain;
width: 100%;
height: 100%;
}

* .gradio-video .wrap,
* [data-testid="image"] .wrap {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -2681,7 +2716,7 @@ span.star_count b {
.tabs_extensions td:nth-child(1) a {
font-size: 14px;
}

.gradio-video,
.gradio-image {
height: 100%;
width: 100%;
Expand Down Expand Up @@ -2799,23 +2834,23 @@ span.star_count b {


.image-container img.absolute-img {
/* position: relative !important; */
position: absolute !important;
position: relative !important;
/* position: absolute !important; */
}

.image-container img {
/* .image-container img {
max-height: 50vh !important;
}
} */

.image-container {
min-height: 25vh !important;
min-height: 15vh !important;
/* height: auto !important; */
display: flex;
position:relative;
}
.image-container:has(canvas) {
/* .image-container:has(canvas) {
min-height: 50vh !important;
}
} */

.absolute-img {
position: relative;
Expand All @@ -2827,12 +2862,11 @@ span.star_count b {
}

div[data-testid="image"] canvas {
width: auto !important;
height: 100% !important;
width: 100%!important;
height: auto !important;
position: absolute !important;
/* top: 0 !important;
left: 0 !important; */
border: 0 !important;
inset: 0;
}


Expand Down Expand Up @@ -2884,6 +2918,7 @@ flex-grow:1;
.group-row > *{
border-radius: 0 !important;
}

.group-row > *:last-child button,
.group-row > *:last-child{
border-top-right-radius: var(--ae-border-radius) !important;
Expand Down

0 comments on commit 0e0fbf8

Please sign in to comment.