mirror of
https://github.com/altoiddealer/--sd-webui-ar-plusplus.git
synced 2026-03-01 19:30:28 +00:00
Simplified ratio calculation, swapped calculator button icon for text to ensure browser compatibility, updated button styles, simplified self.image declaration.
24 lines
606 B
CSS
24 lines
606 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 {
|
|
padding: 0 .75em;
|
|
background-color: #ffffff;
|
|
--tw-gradient-from: #ffffff;
|
|
--tw-gradient-to: #ffffff;
|
|
}
|
|
button#arc_hide_calculator_button {
|
|
padding: 0 .75em;
|
|
} |