File tree Expand file tree Collapse file tree 7 files changed +2987
-10023
lines changed Expand file tree Collapse file tree 7 files changed +2987
-10023
lines changed Original file line number Diff line number Diff line change 1
1
# Block Collection
2
2
3
- This project contains code that is featured in the [ AEM Block Collection] ( https://www.aem.live/developer/block-collection#block -collection-1 ) documentation.
3
+ This project contains code that is featured in the [ AEM Block Collection] ( https://www.aem.live/developer/block-collection#bslock -collection-1 ) documentation.
4
4
5
5
## Environments
6
6
- Preview: https://main--aem-block-collection--adobe.hlx.page/
@@ -12,10 +12,16 @@ This project contains code that is featured in the [AEM Block Collection](https:
12
12
npm i
13
13
```
14
14
15
+ ## Linting
16
+
17
+ ``` sh
18
+ npm run lint
19
+ ```
20
+
15
21
## Local development
16
22
17
23
1 . Create a new repository based on the ` aem-block-collection ` template and add a mountpoint in the ` fstab.yaml `
18
- 1 . Add the [ helix-bot ] ( https://github.com/apps/helix-bot ) to the repository
19
- 1 . Install the [ Helix CLI] ( https://github.com/adobe/helix-cli ) : ` npm install -g @adobe/helix -cli `
20
- 1 . Start Helix Pages Proxy: ` hlx up` (opens your browser at ` http://localhost:3000 ` )
24
+ 1 . Add the [ AEM Code Sync GitHub App ] ( https://github.com/apps/aem-code-sync ) to the repository
25
+ 1 . Install the [ AEM CLI] ( https://github.com/adobe/helix-cli ) : ` npm install -g @adobe/aem -cli `
26
+ 1 . Start AEM Proxy: ` aem up` (opens your browser at ` http://localhost:3000 ` )
21
27
1 . Open the ` {repo} ` directory in your favorite IDE and start coding :)
Original file line number Diff line number Diff line change 13
13
display : flex;
14
14
scroll-behavior : smooth;
15
15
scroll-snap-type : x mandatory;
16
- overflow-x : scroll;
17
- overflow-y : clip;
16
+ overflow : scroll clip;
18
17
}
19
18
20
19
.carousel .carousel-slides ::-webkit-scrollbar {
143
142
left : calc (50% - 3px );
144
143
}
145
144
146
- @media (min- width: 600px ) {
145
+ @media (width > = 600px) {
147
146
.carousel .carousel-navigation-buttons {
148
147
left : 1rem ;
149
148
right : 1rem ;
Original file line number Diff line number Diff line change 13
13
padding : 0 ;
14
14
}
15
15
16
- @media (min- width: 900px ) {
16
+ @media (width > = 900px) {
17
17
.form fieldset {
18
18
grid-template-columns : repeat (3 , 1fr );
19
19
gap : 16px ;
104
104
.form .toggle-wrapper .slider {
105
105
position : absolute;
106
106
cursor : pointer;
107
- top : 0 ;
108
- left : 0 ;
109
- right : 0 ;
110
- bottom : 0 ;
107
+ inset : 0 ;
111
108
background-color : var (--dark-color );
112
109
transition : 0.4s ;
113
110
border-radius : 30px ;
Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ header .breadcrumbs ol li:last-of-type {
329
329
opacity : 1 ;
330
330
}
331
331
332
- @media screen and (min- width: 900px ) {
332
+ @media screen and (width > = 900px) {
333
333
header .breadcrumbs {
334
334
display : block;
335
335
}
You can’t perform that action at this time.
0 commit comments