Merge pull request #12 from alemelis/css

Add style.css to fit labels inside buttons
This commit is contained in:
alemelis
2023-03-30 20:42:57 +01:00
committed by GitHub
2 changed files with 14 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ Browse to the `Extensions` tab -> go to `Install from URL` -> paste in `https://
Here's how the UI looks like after installing this extension
![](https://user-images.githubusercontent.com/4661737/216992603-7ca1b3d0-6317-4579-a4b0-68991e8ced45.png)
<img width="666" alt="Screenshot 2023-03-30 at 20 37 56" src="https://user-images.githubusercontent.com/4661737/228946744-dbffc4c6-8a3f-4a42-8e47-1056b3558afc.png">
## Usage

13
style.css Normal file
View File

@@ -0,0 +1,13 @@
#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;
}