Repository navigation
Site layout refactor - #61
Conversation
* new site layout with an animated drawer * put base rem back to 16px * shifting hbs templates around to match new structure better
|
UI bundle preview build failure! ❌
|
|
Antora site build failure! ❌
|
|
UI bundle preview build successful! ✅ |
|
Antora site build successful! ✅ |
|
UI bundle preview build failure! ❌
|
|
Antora site build failure! ❌
|
|
UI bundle preview build successful! ✅ |
|
Antora site build successful! ✅ |
|
UI bundle preview build successful! ✅ |
|
Antora site build successful! ✅ |
|
Realize this may be a work in progress, but some early feedback:
|
|
UI bundle preview build successful! ✅ |
|
Antora site build successful! ✅ |
| call: task.remove(['build', 'public']), | ||
| }) | ||
|
|
||
| const lintCssTask = createTask({ |
There was a problem hiding this comment.
I decided to remove stylelint for the project. It's no longer maintained and was causing some headaches with prettier. And now that we have prettier I feel that is a good replacement, though it would be ideal to add a step in the gulp process to run prettier on our css files to keep things consistent much like stylelint was doing. Let's handle that later
|
UI bundle preview build successful! ✅ |
|
Antora site build successful! ✅ |
|
UI bundle preview build successful! ✅ |
|
Antora site build successful! ✅ |
|
UI bundle preview build successful! ✅ |
|
@colegoldsmith It looks like we've lost the ability to scroll the right nav. See https://fantastic-adventure-593lpwy.pages.github.io/site-layout-refactor/astra-db-vector/clients/python.html#paginate-the-results-from-a-search |
|
@colegoldsmith It looks like page content is centered only on pages without a TOC. Again, I'd like @kurtenj to chime in here, but the transition between pages with a TOC and pages without a TOC is a bit jarring because the horizontal position of the content changes depending on which kind of page you're viewing. |
|
@colegoldsmith @kurtenj The spacing between 1) the breadcrumb and title, and 2) the title and time commitment indicator, feels a bit cramped compared to the old layout. Old layout:
New layout:
|
|
+1 to all of @djsauble's points. @colegoldsmith I'll let you be the judge of what should be addressed pre- or post-merge.
^ regarding the above feedback item, I also noticed that the page TOC (right nav) no longer highlight's the current section as I scroll. Might be a symptom of the same underlying issue, but wanted to call it out specifically just in case. |
|
UI bundle preview build successful! ✅ |
|
Antora site build successful! ✅ |
|
UI bundle preview build successful! ✅ |
|
Antora site build successful! ✅ |
|
UI bundle preview build successful! ✅ |
|
Antora site build successful! ✅ |
|
Thanks @djsauble I've fixed the following issues you mentioned:
|
|
UI bundle preview build successful! ✅ |
|
Antora site build successful! ✅ |
|
Great improvement, thanks! |
|
UI bundle preview build successful! ✅ |
|
Antora site build successful! ✅ |
|
UI bundle preview build successful! ✅ |
|
Antora site build successful! ✅ |
An SVG image whose file sets no width, such as one with only a viewBox or with width="100%", rendered at 0x0 and disappeared from the page. That holds for a block image, for an SVG embedded with an <object> tag for interactivity, and for inline SVG. Stretch a block image's content box to the full width of the block and align the image inside it with text-align, as upstream's fcb2110 does. An SVG without a width then fills the column in Chromium, WebKit and Firefox, and the text-left and text-right roles still align narrower images. Upstream also sizes an <object> SVG that has no width attribute with width: fit-content (f96f0fb), a rule docs-ui dropped in #61. It stays out: with the stretched content box it changes nothing in Chromium, and it shrinks such an SVG to the default object size in WebKit and to nothing in Firefox.




Lots of updates here, mainly removing a lot of the default UI styles and re-writing the UI template files with tailwind classes. I'll try to list the notable changes: