This repository was archived by the owner on Mar 25, 2025. It is now read-only.
File tree 2 files changed +10
-6
lines changed
packages/gatsby-theme-api-docs/src/components/resource/method
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @commercetools-docs/gatsby-theme-api-docs ' : patch
3
+ ---
4
+
5
+ Update import path
Original file line number Diff line number Diff line change 1
1
import SpacingsStack from '@commercetools-uikit/spacings-stack' ;
2
- import { Markdown } from '@commercetools-docs/ui-kit' ;
2
+ import { Markdown , designSystem } from '@commercetools-docs/ui-kit' ;
3
3
import Title from './title' ;
4
4
import styled from '@emotion/styled' ;
5
- import { dimensions } from '@commercetools-docs/ui-kit/src/design-system' ;
6
5
7
6
type ScopesProps = {
8
7
scopes : string [ ] ;
@@ -12,21 +11,21 @@ const Container = styled.div`
12
11
display: grid;
13
12
grid-gap: 0.5rem;
14
13
15
- @media screen and (${ dimensions . viewports . mobile } ) {
14
+ @media screen and (${ designSystem . dimensions . viewports . mobile } ) {
16
15
grid-template-columns: 1fr;
17
16
}
18
- @media screen and (${ dimensions . viewports . tablet } ) {
17
+ @media screen and (${ designSystem . dimensions . viewports . tablet } ) {
19
18
grid-template-columns: repeat(2, 1fr);
20
19
}
21
20
` ;
22
21
23
22
const Text = styled ( Markdown . InlineCodeWithoutBox ) `
24
- @media screen and (${ dimensions . viewports . mobile } ) {
23
+ @media screen and (${ designSystem . dimensions . viewports . mobile } ) {
25
24
:not(:last-child)&::after {
26
25
content: ', ';
27
26
}
28
27
}
29
- @media screen and (${ dimensions . viewports . tablet } ) {
28
+ @media screen and (${ designSystem . dimensions . viewports . tablet } ) {
30
29
&::after {
31
30
content: ' ';
32
31
}
You can’t perform that action at this time.
0 commit comments