mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
Merge pull request #84 from PX-Byte/fix-mobile-posts-display
Fix mobile posts display
This commit is contained in:
commit
d625cdae69
@ -50,7 +50,7 @@ export default class Dashboard extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return <div className="postingDashboard">
|
return <div className="postingDashboard mobile">
|
||||||
<div
|
<div
|
||||||
ref={this.primaryPanelRef}
|
ref={this.primaryPanelRef}
|
||||||
className={classnames("panel", "fade-opacity-active")}
|
className={classnames("panel", "fade-opacity-active")}
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
.postingDashboard {
|
.postingDashboard {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
||||||
|
&.mobile {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
grid-template-columns: 10vw 1fr 0.5fr;
|
grid-template-columns: 10vw 1fr 0.5fr;
|
||||||
grid-template-rows: 1fr;
|
grid-template-rows: 1fr;
|
||||||
grid-column-gap: 20px;
|
grid-column-gap: 20px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user