Introducing a new visual layout for themes and theme components

I’m so hopelessly stupid sometimes :man_facepalming:

The CSS-snippet that fixed the very first and unfortunate attemp to use a gallery view for components… well, now it broke the theme side.

No need to use anymore
.admin-config.customize {
  .admin-detail {
    padding: 0;
  }
  .themes-cards-container {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    gap: 0;
  }
  .admin-config-area-card__content {
    flex-grow: 0;
    margin: 0;
    padding: 0;
  }
  .theme-card {
    flex-direction: row;
    margin: 0;
    padding: 0.75rem 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid var(--primary-low);
    &__image-wrapper,
    &__content {
      display: none;
    }
    &__footer {
      gap: 1rem;
    }
  }
  .theme-install-card {
    margin-top: 1rem;
  }
}

I think I should remove these comments. Not helping, just polluting the topic.

4 Likes