Skip to content

Commit

Permalink
Disable selector
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Aug 15, 2024
1 parent 3eeee5b commit 1fe5003
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/css.scala
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ sealed trait Selector(val value: Text):
infix def ~ (that: Selector): Selector = Selector.Before(this, that)

object Selector:
given [SelectorType: Selectable, SelectorType2: Selectable]
=> CompareGreater[SelectorType, SelectorType2, Selector] as childSelector:
// given [SelectorType: Selectable, SelectorType2: Selectable]
// => CompareGreater[SelectorType, SelectorType2, Selector] as childSelector:

inline def greaterThan(inline left: SelectorType, inline right: SelectorType2): Selector =
Selector.Child(SelectorType.selector(left), SelectorType2.selector(right))
// inline def greaterThan(inline left: SelectorType, inline right: SelectorType2): Selector =
// Selector.Child(SelectorType.selector(left), SelectorType2.selector(right))

case class Element(element: Text) extends Selector(element):
def normalize: Selector = this
Expand Down

0 comments on commit 1fe5003

Please sign in to comment.