File tree Expand file tree Collapse file tree
website/src/components/VisualElements Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 container-type : inline-size;
77}
88
9- .diagram {
10- display : block;
9+ .diagram . desktopDiagram ,
10+ . diagram . mobileDiagram {
1111 width : 100% ;
1212 height : auto;
1313 max-width : 640px ;
1414 margin-inline : auto;
1515}
1616
17- .mobileDiagram {
17+ .diagram .desktopDiagram {
18+ display : block;
19+ }
20+
21+ .diagram .mobileDiagram {
1822 display : none;
1923 max-width : 360px ;
2024}
2630}
2731
2832@container (max-width : 520px ) {
29- .desktopDiagram {
33+ .diagram . desktopDiagram {
3034 display : none;
3135 }
3236
33- .mobileDiagram {
37+ .diagram . mobileDiagram {
3438 display : block;
3539 }
3640}
3741
3842@media (max-width : 520px ) {
39- .desktopDiagram {
43+ .diagram . desktopDiagram {
4044 display : none;
4145 }
4246
43- .mobileDiagram {
47+ .diagram . mobileDiagram {
4448 display : block;
4549 }
4650}
Original file line number Diff line number Diff line change 66 container-type : inline-size;
77}
88
9- .diagram {
10- display : block;
9+ .diagram . desktopDiagram ,
10+ . diagram . mobileDiagram {
1111 width : 100% ;
1212 height : auto;
1313 max-width : 640px ;
1414 margin-inline : auto;
1515}
1616
17- .mobileDiagram {
17+ .diagram .desktopDiagram {
18+ display : block;
19+ }
20+
21+ .diagram .mobileDiagram {
1822 display : none;
1923 max-width : 360px ;
2024}
2125
2226@container (max-width : 520px ) {
23- .desktopDiagram {
27+ .diagram . desktopDiagram {
2428 display : none;
2529 }
2630
27- .mobileDiagram {
31+ .diagram . mobileDiagram {
2832 display : block;
2933 }
3034}
3135
3236@media (max-width : 520px ) {
33- .desktopDiagram {
37+ .diagram . desktopDiagram {
3438 display : none;
3539 }
3640
37- .mobileDiagram {
41+ .diagram . mobileDiagram {
3842 display : block;
3943 }
4044}
You can’t perform that action at this time.
0 commit comments