Skip to content

Commit 955c1ff

Browse files
valadasbdukes
authored andcommitted
Fixed an issue where the themes list were no longer vertical in Page module
I can't for the life of me remember where this was discussed, but in 10.3.1 the list of themes/layouts/containers was no longer listed horizontally but showed up as a long vertical list. This PR fixes that.
1 parent 43abc74 commit 955c1ff

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

Dnn.AdminExperience/ClientSide/Pages.Web/src/components/Appearance/Gallery/Gallery.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Gallery extends Component {
4848
autoHeight
4949
autoHeightMin={0}
5050
autoHeightMax={480}>
51-
<div style={{width}}>
51+
<div style={{width}} className="flex-container">
5252
{this.props.children}
5353
</div>
5454
</Scrollbars>

Dnn.AdminExperience/ClientSide/Pages.Web/src/components/Appearance/Gallery/style.module.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@
77
background-color: @gallery;
88
border: solid 1px @mercury;
99
}
10+
11+
.flex-container{
12+
display: flex;
13+
}
1014
}

Dnn.AdminExperience/ClientSide/Pages.Web/src/components/Appearance/style.module.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import "~@dnnsoftware/dnn-react-common/styles/index";
22
:local(.moduleContainer) {
3+
padding: 0;
34
& > .dnn-grid-cell {
45
margin-bottom: 20px;
56
}

0 commit comments

Comments
 (0)