-
Notifications
You must be signed in to change notification settings - Fork 155
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
[#1005,#1010] Code Panel: match font with GitHub and break lines when overflow #1008
Conversation
Since this is similar to #1010 can fix that also in this PR as well ? |
Break word seems a little bit weird for text. |
You mean for the path or the code? For the path, since the path will be a continuous text: e.g. As for the code, I have modified the code to break in terms of each word instead of character. |
Yes, that's what I mean. |
@jamessspanggg the Prof wanted consistency between the Code Panel and Commit Panel. As suggested by him, can you make the font sizes between the two views same too? |
@Tejas2805 may I ask specifically which fonts should be standardised? |
# Conflicts: # frontend/src/static/css/style.scss
|
Ok done. |
@jamessspanggg Though all CSS is the same, the fonts look different in Ui. What do you think? |
Do you mean the font for the segments of code? Prof asked me to follow the font-family and font-size of GitHub's code. |
@jamessspanggg Is this PR ready? |
# Conflicts: # frontend/src/static/css/style.scss # frontend/src/tabs/zoom.pug
# Conflicts: # frontend/src/static/css/style.scss
# Conflicts: # frontend/src/static/css/v_zoom.scss # frontend/src/tabs/zoom.pug
Reverted the changes in zoom. Ready for review. |
@damithc your thoughts on the UI changes? |
Looks fine to me 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The title of PR can be improved a bit.
- Since the font of the title is smaller, you may also downscale the size of the icon so it matches?
…poSense into refactor-panels-css * 'refactor-panels-css' of https://github.com/Tejas2805/RepoSense: [reposense#1109] Config.json: include active author and pug file format (reposense#1123) [reposense#1004] Make Code Panel consistent with Chart Panel (reposense#1080) [reposense#1005, reposense#1010] Code Panel: match font with GitHub and break lines when overflow (reposense#1008) [reposense#1076] Author: add a `isIgnoringFile` method (reposense#1085)
Fixes #1005 and #1010
match the font sizes of group title in summary panel and file title in code panelmatch the font styles and sizes between code panel and commit panel