migrate MyGroups away from Gemini
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
a9f414dafe
commit
30d971b819
|
@ -67,9 +67,6 @@ limitations under the License.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.mx_MyGroups_headerCard_header {
|
.mx_MyGroups_headerCard_header {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
@ -100,6 +97,11 @@ limitations under the License.
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_MyGroups_content,
|
||||||
|
.mx_MyGroups_scrollable {
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_MyGroups_placeholder {
|
.mx_MyGroups_placeholder {
|
||||||
background-color: $info-plinth-bg-color;
|
background-color: $info-plinth-bg-color;
|
||||||
color: $info-plinth-fg-color;
|
color: $info-plinth-fg-color;
|
||||||
|
|
|
@ -62,8 +62,6 @@ export default createReactClass({
|
||||||
const Loader = sdk.getComponent("elements.Spinner");
|
const Loader = sdk.getComponent("elements.Spinner");
|
||||||
const SimpleRoomHeader = sdk.getComponent('rooms.SimpleRoomHeader');
|
const SimpleRoomHeader = sdk.getComponent('rooms.SimpleRoomHeader');
|
||||||
const GroupTile = sdk.getComponent("groups.GroupTile");
|
const GroupTile = sdk.getComponent("groups.GroupTile");
|
||||||
const GeminiScrollbarWrapper = sdk.getComponent("elements.GeminiScrollbarWrapper");
|
|
||||||
|
|
||||||
|
|
||||||
let content;
|
let content;
|
||||||
let contentHeader;
|
let contentHeader;
|
||||||
|
@ -74,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 ?
|
||||||
<GeminiScrollbarWrapper>
|
<div className="mx_MyGroups_scrollable">
|
||||||
<div className="mx_MyGroups_microcopy">
|
<div className="mx_MyGroups_microcopy">
|
||||||
<p>
|
<p>
|
||||||
{ _t(
|
{ _t(
|
||||||
|
@ -93,7 +91,7 @@ export default createReactClass({
|
||||||
<div className="mx_MyGroups_joinedGroups">
|
<div className="mx_MyGroups_joinedGroups">
|
||||||
{ groupNodes }
|
{ groupNodes }
|
||||||
</div>
|
</div>
|
||||||
</GeminiScrollbarWrapper> :
|
</div> :
|
||||||
<div className="mx_MyGroups_placeholder">
|
<div className="mx_MyGroups_placeholder">
|
||||||
{ _t(
|
{ _t(
|
||||||
"You're not currently a member of any communities.",
|
"You're not currently a member of any communities.",
|
||||||
|
|
Loading…
Reference in New Issue