@apify/docs-theme 1.0.105 → 1.0.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/docs-theme",
3
- "version": "1.0.105",
3
+ "version": "1.0.107",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "files": [
@@ -922,6 +922,14 @@ html[data-theme='dark'] .actionLink:hover::after {
922
922
  align-items: flex-start;
923
923
  gap: 1.6rem;
924
924
  align-self: stretch;
925
+ height: 100%;
926
+ }
927
+
928
+ .cardContentWrapperText {
929
+ display: flex;
930
+ flex-direction: column;
931
+ align-items: flex-start;
932
+ gap: 0.4rem;
925
933
  }
926
934
 
927
935
  .cardContentList {
@@ -1505,3 +1513,32 @@ html[data-theme='dark'] .runnable-code-block svg .apify-logo {
1505
1513
  padding-right: 8rem !important;
1506
1514
  padding-left: 8rem !important;
1507
1515
  }
1516
+
1517
+ /*
1518
+ * Reset the line-number counter for each .prism-code scope
1519
+ */
1520
+ .prism-code {
1521
+ counter-reset: line-number;
1522
+ }
1523
+
1524
+ /*
1525
+ * Notice the chained .language-ts class name to .prism-code
1526
+ * You can chain more languages in order to add line numbers
1527
+ */
1528
+ .prism-code.language-ts .token-line::before,
1529
+ .prism-code.language-typescript .token-line::before,
1530
+ .prism-code.language-javascript .token-line::before,
1531
+ .prism-code.language-json .token-line::before,
1532
+ .prism-code.language-json5 .token-line::before,
1533
+ .prism-code.language-XML .token-line::before,
1534
+ .prism-code.language-js .token-line::before {
1535
+ counter-increment: line-number;
1536
+ content: counter(line-number);
1537
+ margin-right: calc(var(--ifm-pre-padding) * 0.8);
1538
+ text-align: right;
1539
+ min-width: 1.5rem;
1540
+ display: inline-block;
1541
+ opacity: .3;
1542
+ position: sticky;
1543
+ left: var(--ifm-pre-padding);
1544
+ }