Commit da99db2
feat: prominent Download button + callout on graph-database; gap hangs off diagram
Two pieces of polish on the /content/detail layout + the
/documentation/dev/graph-database page, both touched up in response
to Adam's feedback.
content/documentation/dev/graph-database.mdx:
- The "Download" link under Get Started used the small [__Label]
icon-link pattern; prod has a prominent button. Inline an
<a class="primary-button"> with a material-symbols download icon.
- The "To run our graph database..." paragraph is now wrapped in a
<div class="callout callout-info"> so it renders as a light-blue
info box matching prod.
src/styles.scss (NOT projects/website-angular/src/styles.scss -- only
the root one is wired into the default ng build):
- Adds .primary-button (filled button with icon slot)
- Adds .callout and .callout-info (info-box pattern)
detail.component.scss (::ng-deep cr-description-tab):
- Moves the 28px breathing-room from above the projected download
bar to above the diagram figure. Pages without a diagram (most
reactions/proteins/complexes) no longer carry an awkward gap
below their Summation row.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 79e2a8e commit da99db2
3 files changed
Lines changed: 56 additions & 10 deletions
File tree
- projects/website-angular
- content/documentation/dev
- src/app/content/detail
- src
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
135 | 132 | | |
136 | 133 | | |
137 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
138 | 137 | | |
139 | 138 | | |
140 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
0 commit comments