Skip to content
Snippets Groups Projects
hy-general-list.scss 596 B
Newer Older
  • Learn to ignore specific revisions
  • druid's avatar
    druid committed
    :host {
      display: block;
    }
    
    
    .hy-general-list {
      list-style: none;
      margin: 0;
      padding: 0;
    
    Tuukka Turu's avatar
    Tuukka Turu committed
    
      &--style-grid {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 22px;
    
        @include breakpoint($narrow) {
          flex-direction: row;
        }
    
        @include breakpoint($wide) {
          flex-direction: row;
        }
    
        li {
          width: 100%;
          height: 100%;
    
          @include breakpoint($medium) {
            width: calc(100% / 2 - 22px);
          }
    
          @include breakpoint($wide) {
            width: calc(100% / 3 - 22px);
          }
        }
      }