Skip to content

Instantly share code, notes, and snippets.

@wplit
Last active August 26, 2020 09:36
Show Gist options
  • Select an option

  • Save wplit/5f97418bbb4c14f87770ff15d6f5fe25 to your computer and use it in GitHub Desktop.

Select an option

Save wplit/5f97418bbb4c14f87770ff15d6f5fe25 to your computer and use it in GitHub Desktop.
fb
body,
#facebook ._-kb.sf {
font-family: avenir!important;
}
.discj3wi {
width: 90%;
}
.aghb5jc5 {
max-width: 100%;
}
/* Columns for feed
div[role=feed] {
padding-top: 2%;
columns: 4 400px;
column-gap: 1rem;
} */
/* Grid for feed */
div[data-pagelet="GroupFeed"] > div[role=feed]:last-child {
display: grid;
grid-template-columns: repeat(3, 32%); /* Can't use fr */
grid-gap: 2em;
}
div[data-pagelet="GroupFeed"] > div[role="feed"]:first-child:not(:last-child) {
display: none;
}
div[data-pagelet="GroupInlineComposer"] {
width: 33%;
margin-top: 2%;
}
div[role=feed] > *:first-child {
grid-area: 1 / 1 / 2 / 4;
width: 100%;
}
/* Remove group about sidebar */
.fop5sh7t > .aghb5jc5:nth-child(2) {
display: none;
}
/* Remove unread announcement reminder */
.aghb5jc5 > div[data-pagelet="GroupInlineComposer"] + div[data-pagelet="GroupFeed"] > .k4urcfbm {
display: none;
}
/* Remove manage group (admins only) */
.rq0escxv.l9j0dhe7.tkr6xdv7.j83agx80.cbu4d94t.d2edcug0.pfnyh3mw.dp1hu0rb.rek2kq2y.o36gj0jk {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment