R
R
Roman2016-01-18 12:28:58
css
Roman, 2016-01-18 12:28:58

Display the desired line in the file's Less inspector. Bug or is it necessary?

There is custom.less which compiles to custom.css through watcher and creates a custom.map file so that the line can be seen in the inspector.
There is a nested class in the parent on line 391 (screenshot: prntscr.com/9rkhyc ), but the inspector sees this class on line 298 (screenshot: prntscr.com/9rkie7 ), which is the parent line where the nesting starts. (screen: prntscr.com/9rkipl )
Pseudo-classes displays correctly here on the screen prntscr.com/9rkjaz you can see that we have line 398 in the editor and line 398 in the inspector prntscr.com/9rkjov
============ ==========================
Is it like this for everyone or is something wrong with me? Thanks :-)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2016-01-19
@arkanroman

if you add an ampersand "&" then less will display the desired line. I am attaching a screenshot for an example prntscr.com/9s86pz . In our editor, despite the nesting, it is displayed on line 89 and voila in the inspector is also on line 89. prntscr.com/9s87by I hope this was useful to someone, not just me ;-)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question