@mideind/netskrafl-react 3.4.8 → 3.4.9
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/dist/esm/css/netskrafl.css +18 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1037,6 +1037,14 @@ div.netskrafl-container.legacy-colors table.bag-content tr td {
|
|
|
1037
1037
|
BASE CONTAINER STYLES
|
|
1038
1038
|
========================================================================== */
|
|
1039
1039
|
|
|
1040
|
+
.netskrafl-container div.netskrafl,
|
|
1041
|
+
.netskrafl-container div.gatadagsins {
|
|
1042
|
+
/* React wrapper around the Mithril UI. Stretch to the host's
|
|
1043
|
+
allocated slot so `.netskrafl-container` (height: 100%) resolves
|
|
1044
|
+
to a definite size. */
|
|
1045
|
+
height: 100%;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1040
1048
|
div.netskrafl-container {
|
|
1041
1049
|
/* The outer container fills its parent and paints the background */
|
|
1042
1050
|
width: 100%;
|
|
@@ -1053,8 +1061,16 @@ div.netskrafl-container {
|
|
|
1053
1061
|
padding-top: 4px;
|
|
1054
1062
|
/* font-family: var(--primary-font); */
|
|
1055
1063
|
width: 375px;
|
|
1056
|
-
|
|
1057
|
-
|
|
1064
|
+
/* Fill the host-allocated slot. The previous fixed `100dvh - 58px`
|
|
1065
|
+
guessed the host's chrome height; that worked for hosts whose
|
|
1066
|
+
header was ~58px and broke elsewhere — clipping the bottom of the
|
|
1067
|
+
action buttons on phones like iPhone 13 portrait. Using `100%`
|
|
1068
|
+
lets the host's container chain (e.g. flex `h-full` inside an
|
|
1069
|
+
inset that fills `100vh - header`) own the height contract.
|
|
1070
|
+
The wrapper rules below propagate `height: 100%` from the
|
|
1071
|
+
outermost `.netskrafl` / `.gatadagsins` div so this resolves to a
|
|
1072
|
+
definite size. */
|
|
1073
|
+
height: 100%;
|
|
1058
1074
|
overflow-x: hidden;
|
|
1059
1075
|
overflow-y: visible;
|
|
1060
1076
|
margin: 0 auto;
|