-
-
Notifications
You must be signed in to change notification settings - Fork 68
update search ux/ui [ready for review] #8
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
Conversation
_includes/layouts/_header-main.html
Outdated
@@ -9,6 +9,13 @@ | |||
<div class="--wrap-right"> | |||
<nav class="--nav-meta" role="navigation"> | |||
<ul> | |||
{% unless page.permalink == "/api/" %} |
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 should probably only be on the 4 target languages right? not e.g. MATLAB or Julia etc
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.
Changed the conditional to target correct set of pages.
|
||
var emptyResult = '<div class="text-center"><br><br>No results found matching <strong>{{query}}</strong>.<br><br> Click here to <a class="algolia__result-link" target="_blank" href="https://www.google.com/search?q=site%3Aplot.ly+{{query}}">search for "plotly ' + lang + ' {{query}}" on Google</a>.</div>'; |
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 to fix the search query to match what it says in quotes :)
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.
fixed query to match text.
…ary-docs into algolia-start-fresh
@nicolaskruchten This PR is ready for review. |
all_static/css/main.css
Outdated
|
||
.modal > .modal-dialog{ | ||
width: 1050px; | ||
height: 700px; |
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.
let's get rid of this line here, which is adding an unnecessary scrollbar.
Last two CSS changes then merge! 💃 |
Co-Authored-By: Nicolas Kruchten <[email protected]>
closes #7
Work plan: