mirror of
https://github.com/altoiddealer/--sd-webui-ar-plusplus.git
synced 2026-04-26 01:08:55 +00:00
Make calculation of height and width inverse, that is, the way it is convenient for me Disable `calculator_button` in css Use flex(dynamic) width for all buttons Add resolution presets by formula: `f(x) = 512 + (1024-512)/4*x, 0 <= x <= 4 ` Add ratios presets
23 lines
507 B
CSS
23 lines
507 B
CSS
#txt2img_container_aspect_ratio {
|
|
gap: 5px !important;
|
|
}
|
|
|
|
#txt2img_row_aspect_ratio button,
|
|
#img2img_row_aspect_ratio button,
|
|
#txt2img_row_resolutions button,
|
|
#img2img_row_resolutions button {
|
|
max-width: none !important;
|
|
}
|
|
|
|
/* Fix size and display of show/hide calculator buttons */
|
|
button#arc_show_calculator_button {
|
|
display: none;
|
|
padding: 0 .75em;
|
|
background-color: #ffffff;
|
|
--tw-gradient-from: #ffffff;
|
|
--tw-gradient-to: #ffffff;
|
|
}
|
|
button#arc_hide_calculator_button {
|
|
padding: 0 .75em;
|
|
}
|