Last active
August 19, 2021 19:30
-
-
Save benvium/799bddb7d23417b1c4a5 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/*
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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