You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1f6e35c
Browse filesBrowse the repository at this point in the historyBrowse files
Gallery: the full-size view's header in two rows on a phone; "Screenshots by VisualCI"
The view's × moves out of its controls, beside the title, so under 40rem the header is the title with
× and then one row of switches with ‹ ›, leaving the image more room. The credit line reads
"Screenshots by VisualCI" (still the credit option, on by default). The strip's scroll buttons get a
firmer shadow (--vg-float-shadow) so they stay legible over a busy screenshot. Every renderer and the
golden fixtures follow.
Copy file name to clipboardExpand all lines: clients/gallery/contract/SPEC.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ change, and regenerate the fixtures (`UPDATE_GOLDEN=1 pnpm test` in `../js`), re
24
24
|`order`|`[]`| Screen keys in the order they show. |
25
25
|`groups`|`{}`|`{"<group name>": {title?, size?, fit?}}`: a title over the manifest's; `size` (`"desktop"` or `"phone"`), the size of the group's shots whose names give no width, over the image's shape; `fit`, `"cover"` (the default: the image fills its card, cropped at the bottom) or `"contain"` (shown whole and centred, for a Mac app's windows). |
26
26
|`groupOrder`|`[]`| Group names in the order they show. |
27
-
|`credit`|`true`| The "Powered by VisualCI" line. |
27
+
|`credit`|`true`| The "Screenshots by VisualCI" line; false leaves it out. |
28
28
|`layout`|`"grid"`|`"grid"` or `"strip"`. |
29
29
|`themeSwitch`|`true`| Light and Dark buttons. Always false for the strip. |
30
30
|`seeAll`|`null`|`{href, text?}`: a link under the gallery; `text` defaults to "See all screenshots". |
@@ -167,9 +167,9 @@ the default text), `headingLevel`, `id`, `credit` as above.
167
167
[<h(0) class="vg-title">{title}</h(0)> when title isn't null]
168
168
… the grid's or the strip's lines …
169
169
[<p class="vg-see-all"><a href="{seeAll.href}">{seeAll.text}</a></p> when seeAll]
170
-
[<p class="vg-credit">Screenshot Gallery Powered by <a href="https://visualci.com">VisualCI.com</a></p> when credit]
170
+
[<p class="vg-credit">Screenshots by <a href="https://visualci.com">VisualCI</a></p> when credit]
0 commit comments