Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preview margins/borders/padding #12577

Open
core-ai-bot opened this issue Aug 31, 2021 · 6 comments
Open

preview margins/borders/padding #12577

core-ai-bot opened this issue Aug 31, 2021 · 6 comments

Comments

@core-ai-bot
Copy link
Member

Issue by android272
Thursday Mar 20, 2014 at 23:48 GMT
Originally opened as adobe/brackets#7276


It would really be nice if the live preview would show the margins, borders, and padding of the selected code like Google chrome does when you inspect elements. the image below shows a selected element in blue that has a 15px padding on the right, bottom, and right sids shown in green, a 1px border shown in light tan, and a 15px top margin and a 500px right margin.

fp7ho

@core-ai-bot
Copy link
Member Author

Comment by peterflynn
Thursday Mar 20, 2014 at 23:55 GMT


Related to #7255

@core-ai-bot
Copy link
Member Author

Comment by larz0
Friday Mar 21, 2014 at 04:40 GMT


How about this? Solid border for the box, dashed border for padding and blue tint for margin.

brackets_livepreviewselection_001

@core-ai-bot
Copy link
Member Author

Comment by android272
Friday Mar 21, 2014 at 20:57 GMT


I think that is much better. I did not really like the different colors of chrome, plus one of the most annoying parts of the brackets section box is that the content your trying to look at is covered by a blue box. I like the idea of keeping the selected content free of the transparent box.

@core-ai-bot
Copy link
Member Author

Comment by android272
Friday Mar 21, 2014 at 20:58 GMT


I think that is much better. I did not really like the different colors of chrome, plus one of the most annoying parts of the brackets section box is that the content your trying to look at is covered by a blue box. I like the idea of keeping the selected content free of the transparent box.

@core-ai-bot
Copy link
Member Author

Comment by larz0
Friday Mar 21, 2014 at 21:02 GMT


Ok cool. Glad you like it!

@core-ai-bot
Copy link
Member Author

Comment by larz0
Friday Mar 21, 2014 at 21:05 GMT


Reopening this issue since it hasn't been addressed yet (the design is ready).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant