asab_webui_shell 25.2.7 → 25.2.8

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.
@@ -474,6 +474,11 @@ class Application extends _react.Component {
474
474
  }
475
475
  componentDidMount() {
476
476
  document.addEventListener("keyup", this._handleKeyUp, false);
477
+
478
+ // Add print-landscape class to body if not present
479
+ if (!document.body.classList.contains('print-landscape')) {
480
+ document.body.classList.add('print-landscape');
481
+ }
477
482
  }
478
483
  componentWillUnmount() {
479
484
  document.removeEventListener("keyup", this._handleKeyUp, false);
@@ -61,6 +61,8 @@ $sidebar-transition-timing-function: cubic-bezier(0.6, 0.6, 0, 1);
61
61
  }
62
62
 
63
63
  .sidebar-collapsible {
64
+ font-weight: bold;
65
+
64
66
  transition: transform 0.1s $sidebar-transition-timing-function;
65
67
  &:hover {
66
68
  span .bi-chevron-down {
@@ -1,15 +1,20 @@
1
1
  @page print-portrait {
2
- size: portrait;
2
+ size: A4 portrait;
3
3
  }
4
+
5
+ @page print-landscape {
6
+ size: A4 landscape;
7
+ margin: 2cm 1cm 1.5cm;
8
+ }
9
+
4
10
  @media print {
5
- @page {
6
- size: A4 landscape;
7
- margin: 2cm 1cm 1.5cm;
8
- }
9
11
 
10
12
  .print-portrait {
11
13
  page: print-portrait;
12
14
  }
15
+ .print-landscape {
16
+ page: print-landscape;
17
+ }
13
18
 
14
19
  // Dont display page scrollbar in chrome
15
20
  ::-webkit-scrollbar {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asab_webui_shell",
3
- "version": "25.2.7",
3
+ "version": "25.2.8",
4
4
  "license": "BSD-3-Clause",
5
5
  "description": "TeskaLabs ASAB WebUI Shell Application",
6
6
  "contributors": [