-
Notifications
You must be signed in to change notification settings - Fork 2k
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
back2top
button on mobile, sidebar item margin and sidebar exturl
link color
#684
Conversation
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.
Need some changes here.
Also, when u create visual fixes like this, make and upload screens please. Sometimes it's hard for understanding where was makes changes.
source/js/src/post-details.js
Outdated
@@ -89,8 +89,7 @@ $(document).ready(function() { | |||
var display = CONFIG.page.sidebar; | |||
if (typeof display !== 'boolean') { | |||
// There's no definition sidebar in the page front-matter | |||
var isSidebarCouldDisplay = CONFIG.sidebar.display === 'post' | |||
|| CONFIG.sidebar.display === 'always'; | |||
var isSidebarCouldDisplay = CONFIG.sidebar.display === 'post' || CONFIG.sidebar.display === 'always'; |
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.
This will brake ESLinter under the NexT.. Revert this.
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.
Sure
|
||
&:hover { color: $black-deep; } | ||
} | ||
.exturl:hover { border-bottom-color: $black-deep; } |
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.
span.exturl
(for fater element finding)
@@ -15,6 +15,9 @@ | |||
border-bottom-color: $black-light; | |||
&:hover { color: $gainsboro; } | |||
} | |||
.exturl:hover { |
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.
span.exturl
(for fater element finding)
No need to take your time on labels «10px» / «15px». 😄 Just make screens during you make your changes and upload them directly from clipboard buffer here in GitHub. This will take minimal time. |
Maybe this step also needs to be automated. 😂 For example, there are 4 different components in the sidebar, each one can be enabled/disabled, then there are 2^4=16 combinations in total... need to make sure they are all suitable, and it takes time for human to test. |
And please, create labels instead of that: Bugfix: b2t on mobile (#482), sidebar item margin and sidebar link color**Like this: Fixed
|
back2top: |
Same for exturl
:
Line 140 in 2e0b6ca
exturl: false |
back2top
button on mobile (#482), sidebar item margin and sidebar exturl
link color
Nobody talk NexT is easy. ;) |
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.
And, yes, there is no feature, just label «CSS» and «Code style update».
back2top
button on mobile (#482), sidebar item margin and sidebar exturl
link colorback2top
button on mobile, sidebar item margin and sidebar exturl
link color
@ivan-nginx Thanks 👍 I learned a lot here. |
@stevenjoezhang also, if there is label |
back2top
button on mobile, sidebar item margin and sidebar exturl
link colorback2top
button on mobile, sidebar item margin and sidebar exturl
link color
… link color (theme-next#684) * Bugfix: show `back2top` button on mobile (theme-next#482) * Optimize sidebar item margin * Fix wrong `exturl` link color
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue resolved: #482
What is the new behavior?
Fixed 3 bugs:
Next的Pisces主题样式在移动端似乎没有Back to Top的功能? #482, make back2top display on mobile
Add spaces between sidebar elements
Add
border-bottom-color
settings ofexturl
in sidebarScreenshots with this changes: N/A
How to use?
In NexT
_config.yml
:Does this PR introduce a breaking change?