Skip to content

Commit

Permalink
Drawer,List demos - Remove absolute positioned container (#3036)
Browse files Browse the repository at this point in the history
* fix drawer demo

* fix list demo

* update etalon

* fix react&vue
  • Loading branch information
alexanderPolosatov authored Nov 24, 2023
1 parent 7834cdc commit 857e40e
Show file tree
Hide file tree
Showing 15 changed files with 37 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
padding-top: 12px;
}

::ng-deep .dx-drawer-expand.dx-drawer-right .panel-list {
float: right;
}

::ng-deep .options {
padding: 20px;
background-color: rgba(191, 191, 191, 0.15);
Expand Down
4 changes: 0 additions & 4 deletions JSDemos/Demos/Drawer/LeftOrRightPosition/React/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
padding-top: 12px;
}

.dx-drawer-expand.dx-drawer-right .panel-list {
float: right;
}

.options {
padding: 20px;
background-color: rgba(191, 191, 191, 0.15);
Expand Down
4 changes: 0 additions & 4 deletions JSDemos/Demos/Drawer/LeftOrRightPosition/ReactJs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
padding-top: 12px;
}

.dx-drawer-expand.dx-drawer-right .panel-list {
float: right;
}

.options {
padding: 20px;
background-color: rgba(191, 191, 191, 0.15);
Expand Down
4 changes: 0 additions & 4 deletions JSDemos/Demos/Drawer/LeftOrRightPosition/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ const toolbarContent = [{
padding-top: 12px;
}
.dx-drawer-expand.dx-drawer-right .panel-list {
float: right;
}
.options {
padding: 20px;
background-color: rgba(191, 191, 191, 0.15);
Expand Down
4 changes: 0 additions & 4 deletions JSDemos/Demos/Drawer/LeftOrRightPosition/jQuery/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
padding-top: 12px;
}

.dx-drawer-expand.dx-drawer-right .panel-list {
float: right;
}

.options {
padding: 20px;
background-color: rgba(191, 191, 191, 0.15);
Expand Down
10 changes: 5 additions & 5 deletions JSDemos/Demos/List/ItemTemplate/Angular/app/app.component.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
::ng-deep .demo-container {
height: 450px;
}

::ng-deep .list-container {
min-height: 440px;
height: auto;
position: absolute;
top: 0;
bottom: 0;
height: 100%;
}

::ng-deep .product {
Expand Down
10 changes: 5 additions & 5 deletions JSDemos/Demos/List/ItemTemplate/React/styles.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#app {
height: 450px;
}

.list-container {
min-height: 440px;
height: auto;
position: absolute;
top: 0;
bottom: 0;
height: 100%;
}

.product {
Expand Down
10 changes: 5 additions & 5 deletions JSDemos/Demos/List/ItemTemplate/ReactJs/styles.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#app {
height: 450px;
}

.list-container {
min-height: 440px;
height: auto;
position: absolute;
top: 0;
bottom: 0;
height: 100%;
}

.product {
Expand Down
10 changes: 5 additions & 5 deletions JSDemos/Demos/List/ItemTemplate/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import { products } from './data.js';
const dataSource = products;
</script>
<style>
#app {
height: 450px;
}
.list-container {
min-height: 440px;
height: auto;
position: absolute;
top: 0;
bottom: 0;
height: 100%;
}
</style>
10 changes: 5 additions & 5 deletions JSDemos/Demos/List/ItemTemplate/jQuery/styles.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.demo-container {
height: 450px;
}

.list-container {
min-height: 440px;
height: auto;
position: absolute;
top: 0;
bottom: 0;
height: 100%;
}

.product {
Expand Down
4 changes: 0 additions & 4 deletions MVCDemos/Content/DemosStyles/Drawer/LeftOrRightPosition.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
padding-top: 12px;
}

.dx-drawer-expand.dx-drawer-right .panel-list {
float: right;
}

.options {
padding: 20px;
background-color: rgba(191, 191, 191, .15);
Expand Down
12 changes: 6 additions & 6 deletions MVCDemos/Content/DemosStyles/List/ItemTemplate.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.list-container {
min-height: 440px;
height: auto;
position: absolute;
top: 0;
bottom: 0;
.demo-container {
height: 450px;
}

.list-container {
height: 100%;
}

.product {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
padding-top: 12px;
}

.dx-drawer-expand.dx-drawer-right .panel-list {
float: right;
}

.options {
padding: 20px;
background-color: rgba(191, 191, 191, .15);
Expand Down
12 changes: 6 additions & 6 deletions NetCoreDemos/wwwroot/css/DemosStyles/List/ItemTemplate.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.list-container {
min-height: 440px;
height: auto;
position: absolute;
top: 0;
bottom: 0;
.demo-container {
height: 450px;
}

.list-container {
height: 100%;
}

.product {
Expand Down
Binary file modified testing/etalons/List-ItemTemplate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 857e40e

Please sign in to comment.