Wikiki / bulma-checkradio

Bulma's extension to display better checkbox and radio imputs
MIT License
71 stars 43 forks source link

::after has stopped showing up #31

Closed sqlninja closed 5 years ago

sqlninja commented 5 years ago

I don't know if this was related to an update in chrome (doubting it), but I can't find anything in my code that is overriding the after style on the label, and it was working yesterday... So more than anything I'm looking for some guidance for troubleshooting what could be stopping the ::after from showing up...

sqlninja commented 5 years ago

I can see that the css is getting compiled as expected:

/* line 1, .../gems/bulma-extensions-rails-1.0.30/vendor/assets/stylesheets/bulma-extensions.css */
.is-checkradio[type=checkbox].is-block + label::after, .is-checkradio[type=checkbox].is-block + label:after {
  top: .585rem;
  left: .78rem;
}

but this is the html being output:

<div class="field">
   <input class="is-checkradio is-block is-info is-medium" id="athlete_radio_19" type="checkbox" name="athlete_radio">
   <label for="athlete_radio_19">
      ::before
      "Use this athlete"
   </label>
</div>
sqlninja commented 5 years ago

Thanks for being my rubber duck, there was some javascript doing weird things that was removing the ::after