לאתר זה תהיה פונקציונליות מוגבלת בזמן שאנו מתחזקים אותו לשיפור החוויה שלך. אם מאמר מסויים לא פותר את הבעיה שלך וברצונך לשאול שאלה, קהילת התמיכה שלנו מחכה לעזור לך ב־Twitter תחת ‎@FirefoxSupport וב־Reddit תחת ‎/r/firefox.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

How to change Style Editor formatting back so that CSS declarations stay on one line if originally on one line in the source CSS?

  • 1 תגובה
  • 3 have this problem
  • 4 views
  • תגובה אחרונה מאת cor-el

more options

I'm weird I guess, and sometimes like to edit CSS with all the declarations on one long line rather than a hard return after each. The Style Editor in Dev Tools used to just display the CSS as it found it in the source file, but suddenly it's "helpfully" putting each declaration on its own line, even if its not that way in the source. I've looked for a setting for this to switch it back, but haven't found it. Any assistance would be helpful. Thank you.

I'm weird I guess, and sometimes like to edit CSS with all the declarations on one long line rather than a hard return after each. The Style Editor in Dev Tools used to just display the CSS as it found it in the source file, but suddenly it's "helpfully" putting each declaration on its own line, even if its not that way in the source. I've looked for a setting for this to switch it back, but haven't found it. Any assistance would be helpful. Thank you.

כל התגובות (1)

more options

There are only "devtools*pretty" prefs for the debugger to control "Pretty Print" and not for the Style Editor. There is also nothing in the toolbox setting, so I'm afraid that you can't change this.

Quote:

The Style Editor automatically de-minimizes style sheets that it detects, without affecting the original.
This makes it much easier to work on pages that have been optimized.