Gerschel / sd-web-ui-quickcss

I just setup a quick css apply using the style here https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/5813 This is a tool for designers to worry more about designing their css, rather than worry about how to manage them for sd-web-ui
71 stars 8 forks source link

After upgrade to the latest version of SD webui, extra networks cards display wrong. #32

Open justsonghua opened 1 year ago

justsonghua commented 1 year ago

Note the scroll bar on the right. Cards shown on the top. But other settings are shown on the bottom. There is a huge blank area in the middle.

微信截图_20230325094115 微信截图_20230325094123

This is the style I used, and it works good before today's upgrade.

/* TI - HN - LoRa Cards - Checkpoints*/

/*----------------------------------------------------------------*/

#tabs .tabitem .card{
  width: calc(3px *var(50)); 
  height: calc(4.48px *var(50)); 
  min-width: 50px !important; 
  min-height: 74.6px !important; 
  font-size: 60%; 
  text-align: center; 
  transition: all 0.1s ease-in-out; 
  border-width: 1px; 
}

#tabs .tabitem .card:hover {
  border-width: 3px ;
}

/* extra-network-cards */
#tabs .tabitem .extra-network-cards{
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(137px, 1fr)); 
  margin: 3px; 
  justify-items: space-around; 
  align-items: space-around; 
}

.container > *:last-child {
  grid-column: 1 / -1;
}

.container::after {
  content: ""; 
  visibility: hidden; 
}
Nacurutu commented 1 year ago

ok, I haven't updated webui yet, let me check how to fix it.

Thank you for letting me know. 👍🏻

Edit: I think I will wait until tomorrow night because auto Is still merging things, so i don't want to change something right now and then, have to change it again if another PR break it.