summaryrefslogtreecommitdiffstats
path: root/browser/components/storybook/.storybook/preview-head.html
blob: 2a64d15690eb43a62b1fa58628847cd22e5736b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this file,
   - You can obtain one at http://mozilla.org/MPL/2.0/. -->
<link rel="stylesheet" href="chrome://global/skin/design-tokens-brand.css" />
<style>
  /* Override the default Storybook padding in favour of styles
   provided by our WithCommonStyles wrapper */
  .sb-show-main.sb-main-padded {
    padding: 0;
  }

  /* Ensure WithCommonStyles can grow to fit the page */
  #root-inner {
    height: 100vh;
  }

  /* Docs stories are being given unnecessary height, possibly because we
   turned off certain controls */
  .docs-story div div {
    height: unset;
  }
</style>