@gravity-ui/page-constructor 3.10.0 → 3.10.1
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.10.1](https://github.com/gravity-ui/page-constructor/compare/v3.10.0...v3.10.1) (2023-07-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* block styles specificity ([#438](https://github.com/gravity-ui/page-constructor/issues/438)) ([177996c](https://github.com/gravity-ui/page-constructor/commit/177996c30cd88ee030bc5e2d41ec9555e84d91a4))
|
|
9
|
+
|
|
3
10
|
## [3.10.0](https://github.com/gravity-ui/page-constructor/compare/v3.9.2...v3.10.0) (2023-07-04)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
unpredictable css rules order in build */
|
|
3
3
|
.pc-block-base {
|
|
4
4
|
--anchor-offset: 48px;
|
|
5
|
+
}
|
|
6
|
+
.pc-block-base.pc-block-base {
|
|
5
7
|
margin-top: 48px;
|
|
6
8
|
padding: 0 0 48px;
|
|
7
9
|
}
|
|
8
|
-
.pc-block-base:first-child {
|
|
10
|
+
.pc-block-base.pc-block-base:first-child {
|
|
9
11
|
margin-top: var(--pc-first-block-indent, 96px);
|
|
10
12
|
}
|
|
13
|
+
|
|
11
14
|
@media only screen and (max-width: 577px) {
|
|
12
15
|
.pc-block-base.pc-block-base {
|
|
13
16
|
margin-top: 32px;
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
unpredictable css rules order in build */
|
|
3
3
|
.pc-block-base {
|
|
4
4
|
--anchor-offset: 48px;
|
|
5
|
+
}
|
|
6
|
+
.pc-block-base.pc-block-base {
|
|
5
7
|
margin-top: 48px;
|
|
6
8
|
padding: 0 0 48px;
|
|
7
9
|
}
|
|
8
|
-
.pc-block-base:first-child {
|
|
10
|
+
.pc-block-base.pc-block-base:first-child {
|
|
9
11
|
margin-top: var(--pc-first-block-indent, 96px);
|
|
10
12
|
}
|
|
13
|
+
|
|
11
14
|
@media only screen and (max-width: 577px) {
|
|
12
15
|
.pc-block-base.pc-block-base {
|
|
13
16
|
margin-top: 32px;
|
package/package.json
CHANGED
package/styles/mixins.scss
CHANGED
|
@@ -167,11 +167,13 @@
|
|
|
167
167
|
//constructor
|
|
168
168
|
|
|
169
169
|
@mixin block {
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
@include add-specificity(&) {
|
|
171
|
+
margin-top: $indentL;
|
|
172
|
+
padding: 0 0 $indentL;
|
|
172
173
|
|
|
173
|
-
|
|
174
|
-
|
|
174
|
+
&:first-child {
|
|
175
|
+
margin-top: var(--pc-first-block-indent, #{$indentXXL});
|
|
176
|
+
}
|
|
175
177
|
}
|
|
176
178
|
}
|
|
177
179
|
|