mirror of
https://github.com/altoiddealer/--sd-webui-ar-plusplus.git
synced 2026-03-04 04:39:58 +00:00
Added aspect ratio calculator panel inspired by the aspect ration calculator website by Andrew Hedges (https://andrew.hedges.name/experiments/aspect_ratio/)
23 lines
585 B
CSS
23 lines
585 B
CSS
#txt2img_row_aspect_ratio button,
|
|
#img2img_row_aspect_ratio button {
|
|
min-width: 2.5em !important;
|
|
max-width: fit-content !important;
|
|
margin: 0 0 0.25em 0 !important;
|
|
}
|
|
|
|
#txt2img_row_resolutions button,
|
|
#img2img_row_resolutions button {
|
|
min-width: 2.5em !important;
|
|
max-width: fit-content !important;
|
|
margin: 0 0 0.25em 0 !important;
|
|
}
|
|
|
|
/* Fix size and display of show/hide calculator buttons */
|
|
button#arc_show_calculator_button,
|
|
button#arc_hide_calculator_button {
|
|
min-width: 1.5em !important;
|
|
height: 1.25em;
|
|
flex-grow: 0;
|
|
font-size: 2rem;
|
|
padding: 0 0 .1em;
|
|
} |