yiidoc / yii2-redactor

Extension Redactor WYSIWYG for Yii2 framework
BSD 3-Clause "New" or "Revised" License
186 stars 87 forks source link

Styles for prod environment missing #54

Open Arekusei opened 8 years ago

Arekusei commented 8 years ago

In dev environment include redactor.css:

#redactor-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  text-align: right;
  color: #bbb;
  font-size: 30px;
  font-weight: 300;
  cursor: pointer;
  -webkit-appearance: none;
  padding: 0;
  border: 0;
  background: 0;
  outline: none;
}

In prod environment include redactor.min.css:

#redactor-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    text-align: right;
    color: #bbb;
    font-size: 30px;
    font-weight: 300;
    cursor: pointer;
}

This styles missing in *.min.css version:

#redactor-modal-close {
  /*....*/
  -webkit-appearance: none;
  padding: 0;
  border: 0;
  background: 0;
  outline: none;
}
Arekusei commented 8 years ago

yii2-redactor-bug