mrjs icon indicating copy to clipboard operation
mrjs copied to clipboard

mr.js seems to ignore CSS selectors like `:last-child`

Open lobau opened this issue 1 year ago • 1 comments

in this example, I would expect the second button to have a blue background:

<mr-div class="nav">
  <mr-button>First child</mr-button>
  <mr-button>Last child</mr-button>
</mr-div>
.nav {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 72px;
}

.nav:last-child {
  background-color: blue;
}

lobau avatar Jan 12 '24 16:01 lobau

I'll try and get this working between now and the hackathon. there are some other CSS bugs I'll be taking a look at during the final clean up.

michaelthatsit avatar Jan 15 '24 19:01 michaelthatsit