@openui5/sap.uxap 1.101.0 → 1.102.2

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/.eslintrc.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "overrides": [
3
+ /*
4
+ * Productive code, sample and unit test code of sap.uxap has been cleaned up.
5
+ * No more references to the global jQuery allowed
6
+ */
7
+ {
8
+ "files": [
9
+ "src/**/*.js",
10
+ "test/sap/uxap/demokit/**/*.js",
11
+ "test/sap/uxap/qunit/**/*.js"
12
+ ],
13
+ "globals": {
14
+ "jQuery": "off"
15
+ }
16
+ }
17
+ ]
18
+ }
package/THIRDPARTY.txt CHANGED
@@ -450,7 +450,7 @@ License: Apache-2.0
450
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
451
  Contained in: lib/jsdoc/ui5/plugin.js
452
452
 
453
- Component: SAP Theming Base Content, version: 11.1.38
453
+ Component: SAP Theming Base Content, version: 11.1.39
454
454
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
455
455
  License: Apache-2.0
456
456
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.uxap",
3
- "version": "1.101.0",
3
+ "version": "1.102.2",
4
4
  "description": "OpenUI5 UI Library sap.uxap",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,9 +14,9 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.f": "1.101.0",
18
- "@openui5/sap.m": "1.101.0",
19
- "@openui5/sap.ui.core": "1.101.0",
20
- "@openui5/sap.ui.layout": "1.101.0"
17
+ "@openui5/sap.f": "1.102.2",
18
+ "@openui5/sap.m": "1.102.2",
19
+ "@openui5/sap.ui.core": "1.102.2",
20
+ "@openui5/sap.ui.layout": "1.102.2"
21
21
  }
22
22
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  <name>sap.uxap</name>
5
5
  <vendor>SAP SE</vendor>
6
- <version>1.101.0</version>
6
+ <version>1.102.2</version>
7
7
  <copyright>OpenUI5
8
8
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
9
9
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
@@ -640,6 +640,22 @@ sap.ui.define([
640
640
  }
641
641
  };
642
642
 
643
+ /**
644
+ * Scrolls to the currently selected Section tab, when the header titles is snapped/unsnapped
645
+ *
646
+ * @public
647
+ */
648
+ AnchorBar.prototype.scrollToCurrentlySelectedSection = function () {
649
+ var sSelectedButton = this.getSelectedButton(),
650
+ oSelectedButton = sap.ui.getCore().byId(sSelectedButton),
651
+ sSelectedSectionId;
652
+
653
+ if (oSelectedButton) {
654
+ sSelectedSectionId = oSelectedButton.data("sectionId");
655
+ this.scrollToSection(sSelectedSectionId, 0);
656
+ }
657
+ };
658
+
643
659
  // use type 'object' because Metamodel doesn't know ScrollEnablement
644
660
  /**
645
661
  * Returns an sap.ui.core.delegate.ScrollEnablement object used to handle scrolling.
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @class
23
23
  * @author SAP SE
24
- * @version 1.101.0
24
+ * @version 1.102.2
25
25
  * @since 1.26
26
26
  * @alias sap.uxap.BlockBaseMetadata
27
27
  * @extends sap.ui.core.ElementMetadata
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.101.0
25
+ * @version 1.102.2
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @implements sap.uxap.IHeaderContent
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.101.0
44
+ * @version 1.102.2
45
45
  *
46
46
  * @constructor
47
47
  * @public
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @implements sap.uxap.IHeaderTitle
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.101.0
45
+ * @version 1.102.2
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -1464,12 +1464,17 @@ sap.ui.define([
1464
1464
  *
1465
1465
  * The section can either be given by itself or by its id.
1466
1466
  *
1467
- * Note that an argument of <code>null</code> will cause the first visible section be set as <code>selectedSection</code>.
1468
- * This is because the <code>sap.uxap.ObjectPageLayout</code> should always have one of its sections selected (unless it has 0 visible sections).
1467
+ * If left unspecified, then the page automatically sets
1468
+ * the value to the first visible section before rendering.
1469
+ * The value never remains empty because <code>sap.uxap.ObjectPageLayout</code> should
1470
+ * always have one of its sections selected (unless it has 0 visible sections).
1471
+ *
1472
+ * <b>Note:</b> Updating the <code>selectedSection</code> with a value of <code>null</code>
1473
+ * resets the <code>selectedSection</code> to the first visible section and scrolls the page to the top.
1469
1474
  *
1470
1475
  * @param {string | sap.uxap.ObjectPageSection} sId
1471
1476
  * The ID or the section instance that should be selected
1472
- * Note that <code>null</code> or <code>undefined</code> are not valid arguments
1477
+ * Note that <code>undefined</code> is not a valid argument
1473
1478
  * @return {this} Returns <code>this</code> to allow method chaining
1474
1479
  * @public
1475
1480
  */
@@ -1583,7 +1588,8 @@ sap.ui.define([
1583
1588
  * @private
1584
1589
  */
1585
1590
  ObjectPageLayout.prototype._toggleHeaderTitle = function (bExpand, bUserInteraction) {
1586
- var oHeaderTitle = this.getHeaderTitle();
1591
+ var oHeaderTitle = this.getHeaderTitle(),
1592
+ oAnchorBar = this._oABHelper._getAnchorBar();
1587
1593
 
1588
1594
  // note that <code>this._$titleArea</code> is the placeholder [of the sticky area] where both the header title and header content are placed
1589
1595
  if (this._$titleArea.length) {
@@ -1597,6 +1603,8 @@ sap.ui.define([
1597
1603
  } else {
1598
1604
  oHeaderTitle && oHeaderTitle.snap(bUserInteraction);
1599
1605
  }
1606
+
1607
+ oAnchorBar.scrollToCurrentlySelectedSection();
1600
1608
  };
1601
1609
 
1602
1610
  /**
@@ -1697,6 +1705,12 @@ sap.ui.define([
1697
1705
 
1698
1706
  }, this);
1699
1707
 
1708
+ if (iVisibleSubSections > 1) {
1709
+ aSubSections.forEach(function(oSubSection) {
1710
+ oSubSection._setBorrowedTitleDomId("");
1711
+ });
1712
+ }
1713
+
1700
1714
  //rule noVisibleSubSection: If a section has no content (or only empty subsections) the section will be hidden.
1701
1715
  if (iVisibleSubSections == 0) {
1702
1716
  oSection._setInternalVisible(false, bInvalidate);
@@ -2484,8 +2498,9 @@ sap.ui.define([
2484
2498
  this._aSectionBases.forEach(function (oSectionBase) {
2485
2499
  var oInfo = this._oSectionInfo[oSectionBase.getId()],
2486
2500
  $this = oSectionBase.$(),
2501
+ bPromoted = false,
2487
2502
  oSection,
2488
- bPromoted = false;
2503
+ iSectionsTopMargin;
2489
2504
 
2490
2505
  if (!oInfo /* sectionBase is visible */ || !$this.length) {
2491
2506
  return;
@@ -2499,7 +2514,7 @@ sap.ui.define([
2499
2514
 
2500
2515
  //calculate the scrollTop value to get the section title at the bottom of the header
2501
2516
  //performance improvements possible here as .position() is costly
2502
- var realTop = $this.position().top; //first get the dom position = scrollTop to get the section at the window top
2517
+ var realTop = library.Utilities.getChildPosition($this, this._$contentContainer).top;
2503
2518
 
2504
2519
  //the amount of scrolling required is the distance between their position().top and the bottom of the anchorBar
2505
2520
  oInfo.positionTop = Math.ceil(realTop);
@@ -2562,8 +2577,9 @@ sap.ui.define([
2562
2577
  bParentIsFirstVisibleSection = bUseIconTabBar /* there is only single section per tab */ || (oSectionBase.getParent() === this._oFirstVisibleSection);
2563
2578
  bIsFirstVisibleSubSection = bParentIsFirstVisibleSection && (iSubSectionIndex === 0); /* index of *visible* subSections is first */
2564
2579
  bIsFullscreenSection = oSectionBase.hasStyleClass(ObjectPageSubSection.FIT_CONTAINER_CLASS);
2580
+ iSectionsTopMargin = oSection && oSection.$().length ? parseInt(oSection.$().css("marginTop")) : 0;
2565
2581
 
2566
- oSectionBase._setHeight(this._computeSubSectionHeight(bIsFirstVisibleSubSection, bIsFullscreenSection, Math.ceil(realTop), iSectionsContainerOffsetTop));
2582
+ oSectionBase._setHeight(this._computeSubSectionHeight(bIsFirstVisibleSubSection, bIsFullscreenSection, Math.ceil(realTop), iSectionsContainerOffsetTop, iSectionsTopMargin));
2567
2583
  }
2568
2584
 
2569
2585
  }, this);
@@ -2628,7 +2644,8 @@ sap.ui.define([
2628
2644
  return true; // return success flag
2629
2645
  };
2630
2646
 
2631
- ObjectPageLayout.prototype._computeSubSectionHeight = function(bFirstVisibleSubSection, bFullscreenSection, iSubSectionOffsetTop, iSectionsContainerOffsetTop) {
2647
+ ObjectPageLayout.prototype._computeSubSectionHeight = function(bFirstVisibleSubSection, bFullscreenSection,
2648
+ iSubSectionOffsetTop, iSectionsContainerOffsetTop, iSectionsTopMargin) {
2632
2649
 
2633
2650
  var iSectionsContainerHeight,
2634
2651
  iRemainingSectionContentHeight;
@@ -2653,8 +2670,8 @@ sap.ui.define([
2653
2670
 
2654
2671
  if (this._bAllContentFitsContainer) {
2655
2672
  // if we have a single fullscreen subsection [that takes the entire available height within the sections container]
2656
- // => subtract the heights above and bellow the subSection to *avoid having a scrollbar*
2657
- iRemainingSectionContentHeight = (iSubSectionOffsetTop - iSectionsContainerOffsetTop) + this.iFooterHeight;
2673
+ // => subtract the heights above and bellow the subSection to *avoid having a scrollbar*, having in mind the top margin of the Section
2674
+ iRemainingSectionContentHeight = (iSubSectionOffsetTop - iSectionsContainerOffsetTop) + iSectionsTopMargin + this.iFooterHeight;
2658
2675
  iSectionsContainerHeight -= iRemainingSectionContentHeight;
2659
2676
  }
2660
2677
 
@@ -2707,7 +2724,7 @@ sap.ui.define([
2707
2724
  var bIsStickyMode = this._bStickyAnchorBar || this._bHeaderInTitleArea; // get current mode
2708
2725
  var iLastSectionPositionTop = this._getSectionPositionTop(oLastVisibleSubSection, bIsStickyMode); /* we need to get the position in the current mode */
2709
2726
 
2710
- return this._$spacer.position().top - iLastSectionPositionTop;
2727
+ return Math.ceil(this._$spacer.position().top) - iLastSectionPositionTop;
2711
2728
  };
2712
2729
 
2713
2730
  ObjectPageLayout.prototype._getStickyAreaHeight = function(bIsStickyMode) {
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Element
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.101.0
40
+ * @version 1.102.2
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -9,6 +9,7 @@ sap.ui.define([
9
9
  "./ObjectPageSectionBase",
10
10
  "sap/ui/Device",
11
11
  "sap/m/Button",
12
+ "sap/ui/core/ResizeHandler",
12
13
  "sap/ui/core/StashedControlSupport",
13
14
  "./ObjectPageSubSection",
14
15
  "./library",
@@ -18,6 +19,7 @@ sap.ui.define([
18
19
  ObjectPageSectionBase,
19
20
  Device,
20
21
  Button,
22
+ ResizeHandler,
21
23
  StashedControlSupport,
22
24
  ObjectPageSubSection,
23
25
  library,
@@ -130,10 +132,20 @@ sap.ui.define([
130
132
  ObjectPageSection.prototype.init = function () {
131
133
  ObjectPageSectionBase.prototype.init.call(this);
132
134
  this._sContainerSelector = ".sapUxAPObjectPageSectionContainer";
135
+ this._onResizeRef = this._onResize.bind(this);
133
136
  };
134
137
 
135
138
  ObjectPageSection.prototype.exit = function () {
136
139
  this._detachMediaContainerWidthChange(this._updateImportance, this);
140
+
141
+ if (this._iResizeHandlerId) {
142
+ ResizeHandler.deregister(this._iResizeHandlerId);
143
+ this._iResizeHandlerId = null;
144
+ }
145
+ };
146
+
147
+ ObjectPageSection.prototype._onResize = function () {
148
+ this._updateMultilineContent();
137
149
  };
138
150
 
139
151
  ObjectPageSection.prototype._getImportanceLevelToHide = function (oCurrentMedia) {
@@ -164,6 +176,37 @@ sap.ui.define([
164
176
  }
165
177
  };
166
178
 
179
+ ObjectPageSection.prototype._updateMultilineContent = function () {
180
+ var aSubSections = this.getSubSections(),
181
+ oFirstSubSection = aSubSections.find(function(oSubSection) {
182
+ return oSubSection.getVisible();
183
+ });
184
+
185
+ if (oFirstSubSection && oFirstSubSection.getDomRef()) {
186
+ var sTitleDomId = oFirstSubSection._getTitleDomId(),
187
+ iTitleWidth,
188
+ iActionsWidth,
189
+ iHeaderWidth,
190
+ bMultiLine,
191
+ oFirstSubSectionTitle;
192
+
193
+ // When there are more than one SubSections with no title, sTitleDomId=false.
194
+ // However, we are not interested in this case anyway, as there is no promoted SubSection
195
+ if (!sTitleDomId) {
196
+ return;
197
+ }
198
+
199
+ oFirstSubSectionTitle = document.getElementById(oFirstSubSection._getTitleDomId());
200
+ // Title is hidden for the first SubSection of the first Section
201
+ iTitleWidth = oFirstSubSectionTitle ? oFirstSubSectionTitle.offsetWidth : 0;
202
+ iActionsWidth = this.$().find(".sapUxAPObjectPageSubSectionHeaderActions").width();
203
+ iHeaderWidth = this.$("header").width();
204
+ bMultiLine = (iTitleWidth + iActionsWidth) > iHeaderWidth;
205
+
206
+ oFirstSubSection._toggleMultiLineSectionContent(bMultiLine);
207
+ }
208
+ };
209
+
167
210
  ObjectPageSection.prototype._determineTheLowestLevelOfImportanceToShow = function (sMedia, bShowOnlyHighImportance) {
168
211
  if (bShowOnlyHighImportance || sMedia === "Phone") {
169
212
  return library.Importance.High;
@@ -196,7 +239,9 @@ sap.ui.define([
196
239
  };
197
240
 
198
241
  ObjectPageSection.prototype.onAfterRendering = function () {
242
+ this._updateMultilineContent();
199
243
  this._attachMediaContainerWidthChange(this._updateImportance, this);
244
+ this._iResizeHandlerId = ResizeHandler.register(this, this._onResizeRef);
200
245
  };
201
246
 
202
247
  /**
@@ -291,6 +291,11 @@ sap.ui.define([
291
291
  this._sBorrowedTitleDomId = sId;
292
292
  };
293
293
 
294
+ ObjectPageSubSection.prototype._toggleMultiLineSectionContent = function (bMultiLine) {
295
+ this.toggleStyleClass("sapUxAPObjectPageSectionMultilineContent", bMultiLine);
296
+ this._bMultiLine = bMultiLine;
297
+ };
298
+
294
299
  ObjectPageSubSection.prototype._expandSection = function () {
295
300
  ObjectPageSectionBase.prototype._expandSection.call(this);
296
301
  var oParent = this.getParent();
@@ -39,6 +39,10 @@ sap.ui.define(function () {
39
39
  oRm.class("sapUxAPObjectPageSubSectionWithSeeMore");
40
40
  }
41
41
 
42
+ if (oControl._bMultiLine) {
43
+ oRm.class("sapUxAPObjectPageSectionMultilineContent");
44
+ }
45
+
42
46
  oRm.class("sapUxAPObjectPageSubSection")
43
47
  .class("ui-helper-clearfix");
44
48
 
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @constructor
26
26
  * @alias sap.uxap.changeHandler.AddIFrameObjectPageLayout
27
27
  * @author SAP SE
28
- * @version 1.101.0
28
+ * @version 1.102.2
29
29
  * @since 1.75
30
30
  * @experimental Since 1.75
31
31
  */
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/fl/changeHandler/MoveControls", "sap/ui/core/Core", "sap/
13
13
  * @constructor
14
14
  * @alias sap.uxap.changeHandler.MoveObjectPageSection
15
15
  * @author SAP SE
16
- * @version 1.101.0
16
+ * @version 1.102.2
17
17
  * @experimental Since 1.54
18
18
  */
19
19
 
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @constructor
22
22
  * @alias sap.uxap.changeHandler.RenameObjectPageSection
23
23
  * @author SAP SE
24
- * @version 1.101.0
24
+ * @version 1.102.2
25
25
  * @experimental Since 1.50
26
26
  */
27
27
 
@@ -11,11 +11,12 @@ sap.ui.define([
11
11
  "sap/ui/core/Core",
12
12
  "sap/ui/base/DataType",
13
13
  "sap/ui/Device",
14
+ "sap/ui/thirdparty/jquery",
14
15
  "sap/ui/core/library", // library dependency
15
16
  "sap/f/library", // library dependency
16
17
  "sap/m/library", // library dependency
17
18
  "sap/ui/layout/library" // library dependency
18
- ], function(Core, DataType, Device) {
19
+ ], function(Core, DataType, Device, jQuery) {
19
20
  "use strict";
20
21
 
21
22
  /**
@@ -24,7 +25,7 @@ sap.ui.define([
24
25
  * @namespace
25
26
  * @alias sap.uxap
26
27
  * @author SAP SE
27
- * @version 1.101.0
28
+ * @version 1.102.2
28
29
  * @since 1.36
29
30
  * @public
30
31
  */
@@ -67,7 +68,7 @@ sap.ui.define([
67
68
  "sap.uxap.ObjectPageHeaderLayoutData",
68
69
  "sap.uxap.ObjectPageLazyLoader"
69
70
  ],
70
- version: "1.101.0",
71
+ version: "1.102.2",
71
72
  extensions: {
72
73
  flChangeHandlers: {
73
74
  "sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
@@ -1,7 +1,7 @@
1
1
 
2
- SHOW_MORE=\u8868\u793A\u8FFD\u52A0
2
+ SHOW_MORE=\u3055\u3089\u306B\u8868\u793A
3
3
 
4
- SHOW_LESS=\u8868\u793A\u5727\u7E2E
4
+ SHOW_LESS=\u8868\u793A\u3092\u6E1B\u3089\u3059
5
5
 
6
6
  ANCHOR_BAR_ARIA_LABEL=\u30A2\u30F3\u30AB\u30FC
7
7
 
@@ -13,7 +13,7 @@ BREADCRUMB_TRAIL_LABEL=\u8A73\u7D30\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3
13
13
 
14
14
  SHOW_ALL=\u3059\u3079\u3066\u8868\u793A
15
15
 
16
- HIDE_ALL=\u8868\u793A\u5727\u7E2E
16
+ HIDE_ALL=\u8868\u793A\u3092\u6E1B\u3089\u3059
17
17
 
18
18
  SHOW=\u5C55\u958B
19
19
 
@@ -28,6 +28,16 @@
28
28
  }
29
29
  }
30
30
 
31
+ .sapUxAPObjectPageLayout:not(.sapUxAPObjectPageLayout-Std-Phone) .sapUxAPObjectPageSubSectionPromoted:not(.sapUxAPObjectPageSectionMultilineContent) .sapUxAPObjectPageSubSectionHeaderActions {
32
+ position: absolute;
33
+ top: 0;
34
+ right: 1rem;
35
+ }
36
+ .sapUxAPObjectPageLayout:not(.sapUxAPObjectPageLayout-Std-Phone) .sapUxAPObjectPageSubSectionPromoted:not(.sapUxAPObjectPageSectionMultilineContent) .sapUxAPObjectPageSubSectionHeader {
37
+ height: 0;
38
+ padding: 0;
39
+ }
40
+
31
41
  body > .sapUxAPObjectPageLayout,
32
42
  .sapUiVltCell .sapUxAPObjectPageLayout {
33
43
  position: fixed;
@@ -6,6 +6,7 @@
6
6
  .sapUxAPObjectPageSection {
7
7
  margin-left: 0;
8
8
  margin-bottom: 0;
9
+ position: relative;
9
10
  }
10
11
 
11
12
  .sapUxAPObjectPageSectionTitleUppercase {
@@ -4,7 +4,7 @@
4
4
  /* ============================================== */
5
5
 
6
6
  .sapUxAPObjectPageSubSection {
7
- padding-bottom: 0;
7
+ padding-top: 1rem;
8
8
  box-sizing: border-box;
9
9
  }
10
10
 
@@ -16,7 +16,7 @@
16
16
  height: auto;
17
17
  overflow: auto;
18
18
  word-wrap: break-word;
19
- padding: 1rem 2.25rem 0 3rem
19
+ padding: 0 2.25rem 0 3rem
20
20
  }
21
21
 
22
22
  .sapUxAPObjectPageSubSectionHeaderTitle {
@@ -50,7 +50,7 @@
50
50
  /* phone display */
51
51
  .sapUxAPObjectPageLayout-Std-Phone .sapUxAPObjectPageSubSectionHeader,
52
52
  html .sapUiContainer-Narrow .sapUxAPObjectPageSubSectionHeader {
53
- padding: 1rem;
53
+ padding: 0 1rem;
54
54
  }
55
55
 
56
56
  .sapUxAPObjectPageLayout-Std-Phone .sapUxAPObjectPageSubSectionHeaderTitle,
@@ -67,7 +67,7 @@ html .sapUiContainer-Narrow .sapUxAPObjectPageSubSectionHeaderTitle {
67
67
 
68
68
  .sapUxAPObjectPageLayout-Std-Tablet .sapUxAPObjectPageSubSectionHeader,
69
69
  html .sapUiContainer-Medium .sapUxAPObjectPageSubSectionHeader {
70
- padding: 1rem 1.25rem 0 2rem;
70
+ padding: 0 1.25rem 0 2rem;
71
71
  }
72
72
 
73
73
  /* Those styles apply Desktop and Desktop-XL.
@@ -101,7 +101,6 @@ Doing so will result in less generated CSS, as well as less future maintanance i
101
101
  white-space: normal;
102
102
  word-wrap: break-word;
103
103
  line-height: normal;
104
- padding-top: 1rem;
105
104
  }
106
105
 
107
106
  .sapUxAPObjectPageSubSectionHeader.titleOnLeftLayout .sapUxAPObjectPageSubSectionHeaderActions {
@@ -141,10 +140,10 @@ Doing so will result in less generated CSS, as well as less future maintanance i
141
140
  }
142
141
 
143
142
  .sapUxAPBlockContainer {
144
- padding: 1rem 2rem 3rem 2rem;
143
+ padding: 0 2rem;
145
144
  }
146
145
  .sapUxAPObjectPageLayout-Std-Tablet .sapUxAPBlockContainer {
147
- padding: 1rem 1rem 3rem 1rem;
146
+ padding: 0 1rem;
148
147
  }
149
148
  .sapUxAPObjectPageLayout-Std-Phone .sapUxAPBlockContainer {
150
149
  padding: 0 1rem;
@@ -154,20 +153,6 @@ Doing so will result in less generated CSS, as well as less future maintanance i
154
153
  }
155
154
  }
156
155
 
157
- .sapUxAPObjectPageLayout-Std-Tablet .sapUxAPObjectPageSubSectionWithSeeMore {
158
- .sapUxAPBlockContainer {
159
- padding-bottom: 0;
160
- }
161
-
162
- .sapUxAPSubSectionSeeMoreContainer {
163
- padding-bottom: 2rem;
164
- }
165
- }
166
-
167
-
168
- .sapUxAPObjectPageLayout-Std-Phone .sapUxAPObjectPageSubSectionPromoted .sapUxAPBlockContainer {
169
- padding-top: 1rem;
170
- }
171
156
 
172
157
  .sapUxAPObjectPageLayout-Std-Phone .sapUxAPObjectPageSubSection {
173
158
  .sapUiRespGrid.sapUiRespGridHSpace1 {
@@ -200,35 +185,15 @@ Doing so will result in less generated CSS, as well as less future maintanance i
200
185
  }
201
186
  }
202
187
 
203
- .sapUxAPObjectPageSection .sapUxAPObjectPageSectionContainer .sapUxAPObjectPageSubSection .sapUxAPBlockContainer {
204
- padding-bottom: 0;
205
- }
206
188
  /* compact size */
207
189
  .sapUiSizeCompact {
208
190
  .sapUxAPObjectPageSubSectionHeaderTitle {
209
191
  height: 2rem;
210
192
  line-height: 2rem;
211
193
  }
212
- .sapUxAPBlockContainer {
213
- padding: 1rem 2rem 2rem 2rem;
214
- }
215
- .sapUxAPObjectPageLayout-Std-Tablet .sapUxAPBlockContainer,
216
- .sapUxAPObjectPageLayout-Std-Phone .sapUxAPBlockContainer {
217
- padding: 1rem 1rem 2rem 1rem;
218
- }
219
194
  .sapUxAPObjectPageLayout-Std-Phone .sapUxAPBlockContainer .sapUiFormResGrid > div{
220
195
  padding: 1rem 0;
221
196
  }
222
-
223
- .sapUxAPObjectPageSubSectionWithSeeMore {
224
- .sapUxAPBlockContainer {
225
- padding-bottom: 0;
226
- }
227
-
228
- .sapUxAPSubSectionSeeMoreContainer {
229
- padding-bottom: 2rem;
230
- }
231
- }
232
197
  }
233
198
 
234
199
  html[data-sap-ui-browser^="ed"].sap-desktop .sapUxAPObjectPageSubSection:focus {