pyrocms / pyrocms

Pyro is an experienced and powerful Laravel PHP CMS.

Home Page:https://www.pyrocms.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v3.8 Blocks Field Type SCSS not output as CSS in browser

kiltedup opened this issue · comments

When using blocks field type in v3.8, the forms have no styling as the blocks.scss is being output as scss in asset styles and not as css.

See below for page source snippet of styles being output in 3.7 vs 3.8

3.7

.has-warning .redactor-box {
  border: 1px solid #ff754b;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.blocks-field_type .blocks-container .block-item {
  margin: 1rem 0;
  background: rgba(200, 200, 200, 0.15); 
}
.blocks-field_type .blocks-container .block-item.dragged {
  opacity: 0.2; 
}

3.8

.has-warning .redactor-box {
  border: 1px solid #ff754b;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.blocks-field_type {
    .blocks-container {
        .block-item {
            margin: 1rem 0;
            background: rgba(200, 200, 200, 0.15);
            &.dragged {
                opacity: 0.2;
            }

Pyro 3.8 has removed the scss parser.