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
Tighten up the vertical spacing on cells and make the padding of cells more consistent #4576
Conversation
Also moves some css/less code to the outputarea.less.
Can you make code_pading CamelCase to be consistent with bootstrap ? I've started to correct some other variables in my last css cleaning, would be good to continue in this direction. Envoyé de mon iPhone
|
Actually I might have just replaced some of our variable with bootstrap ones,(like BorderRadius I guess) so never mind. Envoyé de mon iPhone
|
Looks OK for me... |
Good point. |
@Carreau I think we should use |
@ellisonbg variable.less looks great now, but I am also asking you to unify the spaces in all the less files you are modifying 😉 |
OK I think I got them all... |
Almost there, you have left mixed indentation in codemirror.less and outputarea.less. Sorry to be an annoying guy (I can do a PR against yours if you want, but it is probably easier to you to modify it because you have the files open right now 😬) |
Do you mean that the number of spaces used is different (sometimes 2, On Fri, Nov 22, 2013 at 2:35 PM, Damián Avila notifications@github.comwrote:
Brian E. Granger |
Yes, I told you I am an annoying guy, hehe... It is not a big deal, but improves the readability of the code (at least for me ) |
I will fix it - no problem... On Fri, Nov 22, 2013 at 2:43 PM, Damián Avila notifications@github.comwrote:
Brian E. Granger |
@ellisonbg did you had time to uniformise tabs ? |
Love it!! Haven't looked at code, but visual impact is excellent. If code review passes, +1 on merge. |
Code review is ok. except for tabs consistency ! |
OK I have fixed the indentation and spacing of all the less files touched. This should be ready for merging. |
Yep! +1 for merge... thanks for taking care of the indentation and spacing consistency! 👍 |
Tighten up the vertical spacing on cells and make the padding of cells more consistent
Merged; Thanks ! |
Tighten up the vertical spacing on cells and make the padding of cells more consistent
Previously, the padding and margins on cells were all over the place. There was also extra vertical padding that took up too much vertical space, even for simple cells. Here is a summary of the changes.
@code_padding
variable that is0.4em
. This is the padding we use in the CodeMirror editor and has to be used in various places to get a consistent design.cell.less
tooutputarea.less
.output_subarea
instances now have the@code_padding
on the top and sides. This means that there is a consistent 0.4em spacing between different outputs in the same cell. This is less that the 10px spacing that was there before.The overall visual look is slightly tighter vertically.
Here is a screenshot before:
And after: