@trebired/frontend 7.1.1 → 7.1.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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable package changes are documented here.
4
4
 
5
+ ## 7.1.2
6
+
7
+ - Corrected `ViewportCenter` centering when rendered inside padded layout content.
8
+
5
9
  ## 7.1.1
6
10
 
7
11
  - Exported `ReloadAdapterOptions` through the public actions barrel.
@@ -123,15 +123,26 @@ body[data-tbf-sidebar-right-minimized="true"] {
123
123
  min-height: calc(
124
124
  100dvh -
125
125
  var(--tbf-layout-top-offset, 0px) -
126
- var(--tbf-layout-bottom-bar-safe-offset, 0px) -
127
- var(--tbf-layout-content-padding-block-start, 0px) -
128
- var(--tbf-layout-content-padding-block-end, 0px)
126
+ var(--tbf-layout-bottom-bar-safe-offset, 0px)
129
127
  );
130
128
  box-sizing: border-box;
131
129
  align-items: center;
132
130
  justify-content: center;
133
131
  }
134
132
 
133
+ .tbf-layout-content > .tbf-viewport-center,
134
+ .tbf-layout-content > [data-tbf-viewport-center],
135
+ [data-tbf-layout-content] > .tbf-viewport-center,
136
+ [data-tbf-layout-content] > [data-tbf-viewport-center] {
137
+ min-height: calc(
138
+ 100dvh -
139
+ var(--tbf-layout-top-offset, 0px) -
140
+ var(--tbf-layout-bottom-bar-safe-offset, 0px) -
141
+ var(--tbf-layout-content-padding-block-start, 0px) -
142
+ var(--tbf-layout-content-padding-block-start, 0px)
143
+ );
144
+ }
145
+
135
146
  .tbf-layout-portal-root,
136
147
  [data-tbf-layout-portal-root] {
137
148
  display: contents;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trebired/frontend",
3
- "version": "7.1.1",
3
+ "version": "7.1.2",
4
4
  "description": "Generic browser runtime systems for Trebired frontend packages and applications.",
5
5
  "type": "module",
6
6
  "private": false,