@tryghost/shade 0.1.0-alpha.3 → 0.1.0-alpha.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/styles.css +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/shade",
3
- "version": "0.1.0-alpha.3",
3
+ "version": "0.1.0-alpha.4",
4
4
  "description": "Ghost design system for React apps",
5
5
  "license": "MIT",
6
6
  "author": "Ghost Foundation",
package/styles.css CHANGED
@@ -241,6 +241,12 @@ html.theme-switching *::after {
241
241
  border-bottom-width: 0;
242
242
  }
243
243
 
244
+ /* Once the header has stuck, its solid background is the edge on its own.
245
+ Transparent rather than gone, so the header doesn't shift as it sticks. */
246
+ [data-large-title-header][data-condensed] [data-page-header='page-header'] {
247
+ border-bottom-color: transparent;
248
+ }
249
+
244
250
  [data-large-title-header] [data-page-header='page-header'] ~ * {
245
251
  margin-top: 24px;
246
252
  }