#Can't find elements that have certain css class.

37 messages · Page 1 of 1 (latest)

worn geyser
#

Hello, I just cloned github project to examine it, and it has index.css which has some classes but when I do try to search for them in the project I get no results despite those classes appearing when I run the project on the website. I search for them using webstorm.

next linden
#

are they maybe generated by some dependancy

worn geyser
#

do you know what steps to take to figure it out?

next linden
#

i suppose you could dig through dependancies but that seems like a pain

#

i don't know any proper way, sorry

worn geyser
#

i asked the guy who made it, and he told me he is rewriting everything anyway, so while I didn't figure it out, it doesnt matter.

cunning geyser
#

minified class names when using css modules maybe

worn geyser
cunning geyser
safe ploverBOT
#
<link href="./index.css" rel="stylesheet" />
cunning geyser
#

not that one, but other css files might be css modules

#

wait, there aren't any

worn geyser
cunning geyser
#

hard to tell without knoiwing what css class you're looking for

worn geyser
#

Lets say this class

safe ploverBOT
#
.public-DraftEditor-content {
worn geyser
cunning geyser
#

added during build step

worn geyser
#

so this is what programming has become

#

!resolved

cunning geyser
safe ploverBOT
#
<Editor
cunning geyser
#

that's the

<div class="Editor-root"
cunning geyser
#

we don't spend out time reinventing the wheel, just use someone else's code

worn geyser
#

that might be right but i was more interested in how to do it myself for other classes as well

cunning geyser
#

it's all from draftjs

#

but ye, the codebase is kinda crap

#

so make sense the author is rewriting it

worn geyser
#

amusing given the fact that it was made ex github ceo

cunning geyser
#

I don't see how it's related

worn geyser
#

i would expect someone like that to write not crap code

cunning geyser
#

the CEO is just a chairman chosen by the shareholders nowadays

worn geyser
#

yeah but its not just some joe schmoe selected by throwing a dice