Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save llagerlof/dac54a396d748b44603cca8ca0f97c70 to your computer and use it in GitHub Desktop.
Save llagerlof/dac54a396d748b44603cca8ca0f97c70 to your computer and use it in GitHub Desktop.
Userstyle for Phabricator Wiki to enable Side-by-side editing, and to hide loads of unused stuff.Use Patterns: https://*/phriction/edit/*
/* SIDE BY SIDE PHRICTION EDIT */
/* add a userstyle with pattern */
/* L H S */
/* pos of left-hand editor */
.phui-box.phui-box-border.mlt.mll.mlr.phui-object-box.phui-object-box-lightblue {
margin-right: 800px !important;
margin-left:0 !important;
}
/* LHS text box */
.aphront-form-control-textarea textarea.aphront-textarea-very-tall {
height: 36em !important;
}
.device-desktop .phui-remarkup-preview .phui-document-view {
/* width: 50%; */
}
.phui-document-view {
margin: 22px auto !important;
width: 795px !important;
}
.aphront-form-input {
margin-left: 0 !important;
margin-right: 0% !important;
width: 100% !important;
}
/* hide title on edit part on left */
.phui-header-shell {
display: none;
}
/* hide required labels */
.aphront-form-required {
display: none;
}
.aphront-form-label {
display: none;
}
.aphront-form-caption {
display: none;
}
.phui-preview-header {
display: none !important;
}
/* hide policy control drop-downs */
.aphront-form-control-policy {
display: none !important;
}
/* URI of page */
.aphront-form-control-static {
display: inherit;
}
input[name=description] {
display: none !important;
}
div.phui-remarkup-preview.phui-remarkup-preview-skin-document {
bottom:0px;
top:70px;
position: absolute;
right:0px;
overflow:auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment