fix styling/heights

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-03-17 11:53:19 +00:00
parent 44b0aa2d88
commit 8fd3b96b72
4 changed files with 7 additions and 6 deletions

View file

@ -180,10 +180,6 @@ limitations under the License.
line-height: 2em; line-height: 2em;
} }
.mx_GroupView > .mx_MainSplit {
flex: 1;
}
.mx_GroupView_body { .mx_GroupView_body {
flex-grow: 1; flex-grow: 1;
} }

View file

@ -95,6 +95,11 @@ limitations under the License.
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow-y: auto;
}
.mx_MyGroups_scrollable {
overflow-y: inherit;
} }
.mx_MyGroups_content, .mx_MyGroups_content,

View file

@ -23,6 +23,7 @@ limitations under the License.
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
height: 100%;
} }
.mx_TagPanel_items_selected { .mx_TagPanel_items_selected {
@ -58,7 +59,6 @@ limitations under the License.
.mx_TagPanel .mx_TagPanel_scroller { .mx_TagPanel .mx_TagPanel_scroller {
flex-grow: 1; flex-grow: 1;
width: 100%; width: 100%;
height: 100vh;
} }
.mx_TagPanel .mx_TagPanel_tagTileContainer { .mx_TagPanel .mx_TagPanel_tagTileContainer {

View file

@ -72,7 +72,7 @@ export default createReactClass({
}); });
contentHeader = groupNodes.length > 0 ? <h3>{ _t('Your Communities') }</h3> : <div />; contentHeader = groupNodes.length > 0 ? <h3>{ _t('Your Communities') }</h3> : <div />;
content = groupNodes.length > 0 ? content = groupNodes.length > 0 ?
<div className="mx_MyGroups_scrollable"> <div className="mx_MyGroups_scrollable mx_AutoHideScrollbar">
<div className="mx_MyGroups_microcopy"> <div className="mx_MyGroups_microcopy">
<p> <p>
{ _t( { _t(