1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Fix some policy CSS

Summary:
Ref T11853. My CSS change for the more enormous policy dialog was a little too broad, and affected the "You shall not pass!" dialog too.

Narrow the scope of the CSS rules.

Also add a missing "." that I caught.

Test Plan:
  - Looked at policy exception dialogs.
  - Looked at policy explanation dialogs.
  - Looked at the end of that sentence.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11853

Differential Revision: https://secure.phabricator.com/D16841
This commit is contained in:
epriestley 2016-11-11 13:26:38 -08:00
parent 32d2955f22
commit 4c540fb01b
4 changed files with 6 additions and 6 deletions

View file

@ -9,7 +9,7 @@ return array(
'names' => array( 'names' => array(
'conpherence.pkg.css' => 'cea72e09', 'conpherence.pkg.css' => 'cea72e09',
'conpherence.pkg.js' => '6249a1cf', 'conpherence.pkg.js' => '6249a1cf',
'core.pkg.css' => '231b1ee5', 'core.pkg.css' => 'a729d20e',
'core.pkg.js' => '1a77dddf', 'core.pkg.js' => '1a77dddf',
'darkconsole.pkg.js' => 'e7393ebb', 'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => 'a4ba74b5', 'differential.pkg.css' => 'a4ba74b5',
@ -21,7 +21,7 @@ return array(
'maniphest.pkg.js' => '949a7498', 'maniphest.pkg.js' => '949a7498',
'rsrc/css/aphront/aphront-bars.css' => '231ac33c', 'rsrc/css/aphront/aphront-bars.css' => '231ac33c',
'rsrc/css/aphront/dark-console.css' => 'f54bf286', 'rsrc/css/aphront/dark-console.css' => 'f54bf286',
'rsrc/css/aphront/dialog-view.css' => '1e6b8603', 'rsrc/css/aphront/dialog-view.css' => 'ea3745f5',
'rsrc/css/aphront/lightbox-attachment.css' => '7acac05d', 'rsrc/css/aphront/lightbox-attachment.css' => '7acac05d',
'rsrc/css/aphront/list-filter-view.css' => '5d6f0526', 'rsrc/css/aphront/list-filter-view.css' => '5d6f0526',
'rsrc/css/aphront/multi-column.css' => '84cc6640', 'rsrc/css/aphront/multi-column.css' => '84cc6640',
@ -550,7 +550,7 @@ return array(
'almanac-css' => 'dbb9b3af', 'almanac-css' => 'dbb9b3af',
'aphront-bars' => '231ac33c', 'aphront-bars' => '231ac33c',
'aphront-dark-console-css' => 'f54bf286', 'aphront-dark-console-css' => 'f54bf286',
'aphront-dialog-view-css' => '1e6b8603', 'aphront-dialog-view-css' => 'ea3745f5',
'aphront-list-filter-view-css' => '5d6f0526', 'aphront-list-filter-view-css' => '5d6f0526',
'aphront-multi-column-view-css' => '84cc6640', 'aphront-multi-column-view-css' => '84cc6640',
'aphront-panel-view-css' => '8427b78d', 'aphront-panel-view-css' => '8427b78d',

View file

@ -40,7 +40,7 @@ final class PhabricatorPolicyExplainController
$dialog = id(new AphrontDialogView()) $dialog = id(new AphrontDialogView())
->setUser($viewer) ->setUser($viewer)
->setClass('aphront-access-dialog') ->setClass('aphront-access-dialog aphront-policy-explain-dialog')
->setTitle(pht('Policy Details: %s', $object_name)) ->setTitle(pht('Policy Details: %s', $object_name))
->addCancelButton($object_uri, pht('Done')); ->addCancelButton($object_uri, pht('Done'));

View file

@ -35,7 +35,7 @@ final class PhabricatorProjectSubprojectWarningController
$conversion_help = pht( $conversion_help = pht(
"Creating a project's first subproject **moves all ". "Creating a project's first subproject **moves all ".
"members** to become members of the subproject instead". "members** to become members of the subproject instead.".
"\n\n". "\n\n".
"See [[ %s | Projects User Guide ]] in the documentation for details. ". "See [[ %s | Projects User Guide ]] in the documentation for details. ".
"This process can not be undone.", "This process can not be undone.",

View file

@ -128,7 +128,7 @@
width: 50%; width: 50%;
} }
.aphront-access-dialog .aphront-dialog-body { .aphront-policy-explain-dialog .aphront-dialog-body {
padding: 0 12px; padding: 0 12px;
} }