File tree Expand file tree Collapse file tree 3 files changed +25
-5
lines changed Expand file tree Collapse file tree 3 files changed +25
-5
lines changed Original file line number Diff line number Diff line change @@ -441,6 +441,7 @@ h6:first-child {
441
441
overflow : auto;
442
442
}
443
443
444
+ .wkt-macos-env-variables-dialog ,
444
445
.wkt-macos-path-directories-dialog {
445
446
width : 85% ;
446
447
height : 85vh ;
@@ -479,6 +480,25 @@ h6:first-child {
479
480
grid-column-end : 2 ;
480
481
}
481
482
483
+ /* some dialogs need 100% height / width body content */
484
+
485
+ .wkt-fixed-body-dialog .oj-dialog-body ,
486
+ .wkt-fixed-body-dialog .oj-dialog-content ,
487
+ .wkt-fixed-body-dialog .oj-dialog-content > div {
488
+ width : 100% ;
489
+ height : 100% ;
490
+ }
491
+
492
+ .wkt-full-height {
493
+ height : 100% ;
494
+ overflow : auto;
495
+ }
496
+
497
+ .wkt-macos-env-variables-dialog .oj-table {
498
+ width : 100% ;
499
+ height : 100% ;
500
+ }
501
+
482
502
/* the oj-switcher in the code view should use the remaining height */
483
503
.wkt-code-view-switcher {
484
504
min-height : 1px ;
Original file line number Diff line number Diff line change 2
2
Copyright (c) 2022, Oracle and/or its affiliates.
3
3
Licensed under The Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl/
4
4
-->
5
- < oj-dialog id ="wktMacosEnvironmentVariablesDialog " class ="wkt-macos-path-directories -dialog " initial-visibility ="hide ">
5
+ < oj-dialog id ="wktMacosEnvironmentVariablesDialog " class ="wkt-macos-env-variables-dialog wkt-fixed-body -dialog " initial-visibility ="hide ">
6
6
< div slot ="header ">
7
7
< span class ="oj-dialog-title "> < oj-bind-text value ="[[labelMapper('title')]] "> </ oj-bind-text > </ span >
8
8
</ div >
9
9
10
10
< div slot ="body ">
11
- < div class ="oj-panel wkt-notop ">
11
+ < div class ="oj-panel wkt-notop wkt-full-height ">
12
12
< oj-table id ="macos-environment-variables-table "
13
13
class ="wkt-env-vars-table "
14
14
aria-label ="Inherited Environment Variables Table "
15
15
data ="[[environmentVariablesDataProvider]] "
16
16
display ="grid "
17
+ layout ="fixed "
17
18
horizontal-grid-visible ="enabled "
18
19
vertical-grid-visible ="enabled "
19
20
edit-mode ="none "
28
29
</ td >
29
30
</ tr >
30
31
</ template >
31
- < template slot ="headerTemplate " data-oj-as ="header "> </ template >
32
32
</ oj-table >
33
33
</ div >
34
34
</ div >
Original file line number Diff line number Diff line change 2
2
Copyright (c) 2022, Oracle and/or its affiliates.
3
3
Licensed under The Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl/
4
4
-->
5
- < oj-dialog id ="wktMacosPathDirectoriesDialog " class ="wkt-macos-path-directories-dialog " initial-visibility ="hide ">
5
+ < oj-dialog id ="wktMacosPathDirectoriesDialog " class ="wkt-macos-path-directories-dialog wkt-fixed-body-dialog " initial-visibility ="hide ">
6
6
< div slot ="header ">
7
7
< span class ="oj-dialog-title "> < oj-bind-text value ="[[labelMapper('title')]] "> </ oj-bind-text > </ span >
8
8
</ div >
9
9
10
10
< div slot ="body ">
11
- < div class ="oj-panel wkt-notop ">
11
+ < div class ="oj-panel wkt-notop wkt-full-height ">
12
12
< div >
13
13
< ol >
14
14
< oj-bind-for-each data ="[[pathDirectories]] ">
You can’t perform that action at this time.
0 commit comments