diff --git a/assets/mai-lists.css b/assets/mai-lists.css index de7502d..8233bf9 100644 --- a/assets/mai-lists.css +++ b/assets/mai-lists.css @@ -34,7 +34,7 @@ .mai-list-icon-wrap { display: grid; - place-items: var(--icon-align, center); + place-items: var(--icon-align, start); margin-top: var(--icon-margin-top, 0px); } diff --git a/assets/mai-lists.min.css b/assets/mai-lists.min.css index 465181d..aae5fb3 100644 --- a/assets/mai-lists.min.css +++ b/assets/mai-lists.min.css @@ -1 +1 @@ -.editor-styles-wrapper .mai-list,.mai-list{--paragraph-margin-bottom:var(--spacing-xs);list-style-type:none;margin:0;padding:0;line-height:1.5}.mai-list-item{list-style-type:none;display:grid;grid-template-columns:var(--grid-template-columns);gap:var(--icon-gap,var(--spacing-md));place-content:start;margin:0}.mai-list-start{--grid-template-columns:auto 1fr}.mai-list-top{--grid-template-columns:1fr}.mai-list-icon,.mai-list-icon-wrap{line-height:1}.mai-list-icon-wrap{display:grid;place-items:var(--icon-align,center);margin-top:var(--icon-margin-top,0)}.mai-list-icon{display:inline-block;padding:var(--icon-padding,unset);background:var(--icon-background,unset);border-radius:var(--icon-border-radius,unset)}.mai-list-icon::before{display:flex;align-items:center;justify-content:center}.mai-list-content{margin-top:var(--content-margin-top,0)}.mai-list-icons .mai-list-icon::before{-webkit-mask-image:var(--icon,unset);mask-image:var(--icon,unset);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:var(--icon-size,20px);height:var(--icon-size,20px);background:var(--icon-color,currentColor);content:""}.mai-list-numbers .mai-list-item{counter-increment:mai-list}.mai-list-numbers .mai-list-icon::before{width:var(--icon-size,20px);height:var(--icon-size,20px);color:var(--icon-color,currentColor);font-weight:var(--mai-list-number-font-weight,var(--heading-font-weight));font-size:var(--icon-size,36px);font-family:var(--mai-list-number-font-family,var(--heading-font-family));content:counter(mai-list)} \ No newline at end of file +.editor-styles-wrapper .mai-list,.mai-list{--paragraph-margin-bottom:var(--spacing-xs);list-style-type:none;margin:0;padding:0;line-height:1.5}.mai-list-item{list-style-type:none;display:grid;grid-template-columns:var(--grid-template-columns);gap:var(--icon-gap,var(--spacing-md));place-content:start;margin:0}.mai-list-start{--grid-template-columns:auto 1fr}.mai-list-top{--grid-template-columns:1fr}.mai-list-icon,.mai-list-icon-wrap{line-height:1}.mai-list-icon-wrap{display:grid;place-items:var(--icon-align,start);margin-top:var(--icon-margin-top,0)}.mai-list-icon{display:inline-block;padding:var(--icon-padding,unset);background:var(--icon-background,unset);border-radius:var(--icon-border-radius,unset)}.mai-list-icon::before{display:flex;align-items:center;justify-content:center}.mai-list-content{margin-top:var(--content-margin-top,0)}.mai-list-icons .mai-list-icon::before{-webkit-mask-image:var(--icon,unset);mask-image:var(--icon,unset);-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;width:var(--icon-size,20px);height:var(--icon-size,20px);background:var(--icon-color,currentColor);content:""}.mai-list-numbers .mai-list-item{counter-increment:mai-list}.mai-list-numbers .mai-list-icon::before{width:var(--icon-size,20px);height:var(--icon-size,20px);color:var(--icon-color,currentColor);font-weight:var(--mai-list-number-font-weight,var(--heading-font-weight));font-size:var(--icon-size,36px);font-family:var(--mai-list-number-font-family,var(--heading-font-family));content:counter(mai-list)} \ No newline at end of file