mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-25 06:50:55 +01:00
Unsquish "No File Chosen" text on image selection forms
Summary: Remove css class that was setting static width Test Plan: Loaded user profile edit page, stretched browser around, saw that the text was happy Reviewers: epriestley, btrahan Reviewed By: btrahan CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4806
This commit is contained in:
parent
34c51a61b5
commit
22d5eee82a
3 changed files with 68 additions and 70 deletions
|
@ -639,7 +639,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'aphront-form-view-css' =>
|
'aphront-form-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/1e191b83/rsrc/css/aphront/form-view.css',
|
'uri' => '/res/428fbcd8/rsrc/css/aphront/form-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -1851,12 +1851,15 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'javelin-behavior-pholio-mock-view' =>
|
'javelin-behavior-pholio-mock-view' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/10fbdca1/rsrc/js/application/pholio/behavior-pholio-mock-view.js',
|
'uri' => '/res/1364872e/rsrc/js/application/pholio/behavior-pholio-mock-view.js',
|
||||||
'type' => 'js',
|
'type' => 'js',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
0 => 'javelin-behavior',
|
0 => 'javelin-behavior',
|
||||||
1 => 'javelin-stratcom',
|
1 => 'javelin-stratcom',
|
||||||
|
2 => 'javelin-dom',
|
||||||
|
3 => 'javelin-vector',
|
||||||
|
4 => 'javelin-event',
|
||||||
),
|
),
|
||||||
'disk' => '/rsrc/js/application/pholio/behavior-pholio-mock-view.js',
|
'disk' => '/rsrc/js/application/pholio/behavior-pholio-mock-view.js',
|
||||||
),
|
),
|
||||||
|
@ -2039,7 +2042,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'javelin-event' =>
|
'javelin-event' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/3815b473/rsrc/js/javelin/core/Event.js',
|
'uri' => '/res/e6582051/rsrc/js/javelin/core/Event.js',
|
||||||
'type' => 'js',
|
'type' => 'js',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3191,7 +3194,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'pholio-css' =>
|
'pholio-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/f101ad7c/rsrc/css/application/pholio/pholio.css',
|
'uri' => '/res/595f2721/rsrc/css/application/pholio/pholio.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3381,7 +3384,7 @@ celerity_register_resource_map(array(
|
||||||
), array(
|
), array(
|
||||||
'packages' =>
|
'packages' =>
|
||||||
array(
|
array(
|
||||||
'6ea96b26' =>
|
'7d347135' =>
|
||||||
array(
|
array(
|
||||||
'name' => 'core.pkg.css',
|
'name' => 'core.pkg.css',
|
||||||
'symbols' =>
|
'symbols' =>
|
||||||
|
@ -3425,7 +3428,7 @@ celerity_register_resource_map(array(
|
||||||
36 => 'phabricator-object-item-list-view-css',
|
36 => 'phabricator-object-item-list-view-css',
|
||||||
37 => 'global-drag-and-drop-css',
|
37 => 'global-drag-and-drop-css',
|
||||||
),
|
),
|
||||||
'uri' => '/res/pkg/6ea96b26/core.pkg.css',
|
'uri' => '/res/pkg/7d347135/core.pkg.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
),
|
),
|
||||||
'8a3f0fbd' =>
|
'8a3f0fbd' =>
|
||||||
|
@ -3556,7 +3559,7 @@ celerity_register_resource_map(array(
|
||||||
'uri' => '/res/pkg/f96657b8/diffusion.pkg.js',
|
'uri' => '/res/pkg/f96657b8/diffusion.pkg.js',
|
||||||
'type' => 'js',
|
'type' => 'js',
|
||||||
),
|
),
|
||||||
'fbeded59' =>
|
'88225b70' =>
|
||||||
array(
|
array(
|
||||||
'name' => 'javelin.pkg.js',
|
'name' => 'javelin.pkg.js',
|
||||||
'symbols' =>
|
'symbols' =>
|
||||||
|
@ -3581,7 +3584,7 @@ celerity_register_resource_map(array(
|
||||||
17 => 'javelin-typeahead-ondemand-source',
|
17 => 'javelin-typeahead-ondemand-source',
|
||||||
18 => 'javelin-tokenizer',
|
18 => 'javelin-tokenizer',
|
||||||
),
|
),
|
||||||
'uri' => '/res/pkg/fbeded59/javelin.pkg.js',
|
'uri' => '/res/pkg/88225b70/javelin.pkg.js',
|
||||||
'type' => 'js',
|
'type' => 'js',
|
||||||
),
|
),
|
||||||
'e30a3fa8' =>
|
'e30a3fa8' =>
|
||||||
|
@ -3615,19 +3618,19 @@ celerity_register_resource_map(array(
|
||||||
'reverse' =>
|
'reverse' =>
|
||||||
array(
|
array(
|
||||||
'aphront-attached-file-view-css' => 'e30a3fa8',
|
'aphront-attached-file-view-css' => 'e30a3fa8',
|
||||||
'aphront-crumbs-view-css' => '6ea96b26',
|
'aphront-crumbs-view-css' => '7d347135',
|
||||||
'aphront-dialog-view-css' => '6ea96b26',
|
'aphront-dialog-view-css' => '7d347135',
|
||||||
'aphront-error-view-css' => '6ea96b26',
|
'aphront-error-view-css' => '7d347135',
|
||||||
'aphront-form-view-css' => '6ea96b26',
|
'aphront-form-view-css' => '7d347135',
|
||||||
'aphront-headsup-action-list-view-css' => 'ec01d039',
|
'aphront-headsup-action-list-view-css' => 'ec01d039',
|
||||||
'aphront-headsup-view-css' => '6ea96b26',
|
'aphront-headsup-view-css' => '7d347135',
|
||||||
'aphront-list-filter-view-css' => '6ea96b26',
|
'aphront-list-filter-view-css' => '7d347135',
|
||||||
'aphront-pager-view-css' => '6ea96b26',
|
'aphront-pager-view-css' => '7d347135',
|
||||||
'aphront-panel-view-css' => '6ea96b26',
|
'aphront-panel-view-css' => '7d347135',
|
||||||
'aphront-table-view-css' => '6ea96b26',
|
'aphront-table-view-css' => '7d347135',
|
||||||
'aphront-tokenizer-control-css' => '6ea96b26',
|
'aphront-tokenizer-control-css' => '7d347135',
|
||||||
'aphront-tooltip-css' => '6ea96b26',
|
'aphront-tooltip-css' => '7d347135',
|
||||||
'aphront-typeahead-control-css' => '6ea96b26',
|
'aphront-typeahead-control-css' => '7d347135',
|
||||||
'differential-changeset-view-css' => 'ec01d039',
|
'differential-changeset-view-css' => 'ec01d039',
|
||||||
'differential-core-view-css' => 'ec01d039',
|
'differential-core-view-css' => 'ec01d039',
|
||||||
'differential-inline-comment-editor' => '1b2c991b',
|
'differential-inline-comment-editor' => '1b2c991b',
|
||||||
|
@ -3641,10 +3644,10 @@ celerity_register_resource_map(array(
|
||||||
'differential-table-of-contents-css' => 'ec01d039',
|
'differential-table-of-contents-css' => 'ec01d039',
|
||||||
'diffusion-commit-view-css' => 'c8ce2d88',
|
'diffusion-commit-view-css' => 'c8ce2d88',
|
||||||
'diffusion-icons-css' => 'c8ce2d88',
|
'diffusion-icons-css' => 'c8ce2d88',
|
||||||
'global-drag-and-drop-css' => '6ea96b26',
|
'global-drag-and-drop-css' => '7d347135',
|
||||||
'inline-comment-summary-css' => 'ec01d039',
|
'inline-comment-summary-css' => 'ec01d039',
|
||||||
'javelin-aphlict' => '8a3f0fbd',
|
'javelin-aphlict' => '8a3f0fbd',
|
||||||
'javelin-behavior' => 'fbeded59',
|
'javelin-behavior' => '88225b70',
|
||||||
'javelin-behavior-aphlict-dropdown' => '8a3f0fbd',
|
'javelin-behavior-aphlict-dropdown' => '8a3f0fbd',
|
||||||
'javelin-behavior-aphlict-listen' => '8a3f0fbd',
|
'javelin-behavior-aphlict-listen' => '8a3f0fbd',
|
||||||
'javelin-behavior-aphront-basic-tokenizer' => '8a3f0fbd',
|
'javelin-behavior-aphront-basic-tokenizer' => '8a3f0fbd',
|
||||||
|
@ -3693,66 +3696,66 @@ celerity_register_resource_map(array(
|
||||||
'javelin-behavior-repository-crossreference' => '1b2c991b',
|
'javelin-behavior-repository-crossreference' => '1b2c991b',
|
||||||
'javelin-behavior-toggle-class' => '8a3f0fbd',
|
'javelin-behavior-toggle-class' => '8a3f0fbd',
|
||||||
'javelin-behavior-workflow' => '8a3f0fbd',
|
'javelin-behavior-workflow' => '8a3f0fbd',
|
||||||
'javelin-dom' => 'fbeded59',
|
'javelin-dom' => '88225b70',
|
||||||
'javelin-event' => 'fbeded59',
|
'javelin-event' => '88225b70',
|
||||||
'javelin-install' => 'fbeded59',
|
'javelin-install' => '88225b70',
|
||||||
'javelin-json' => 'fbeded59',
|
'javelin-json' => '88225b70',
|
||||||
'javelin-mask' => 'fbeded59',
|
'javelin-mask' => '88225b70',
|
||||||
'javelin-request' => 'fbeded59',
|
'javelin-request' => '88225b70',
|
||||||
'javelin-resource' => 'fbeded59',
|
'javelin-resource' => '88225b70',
|
||||||
'javelin-stratcom' => 'fbeded59',
|
'javelin-stratcom' => '88225b70',
|
||||||
'javelin-tokenizer' => 'fbeded59',
|
'javelin-tokenizer' => '88225b70',
|
||||||
'javelin-typeahead' => 'fbeded59',
|
'javelin-typeahead' => '88225b70',
|
||||||
'javelin-typeahead-normalizer' => 'fbeded59',
|
'javelin-typeahead-normalizer' => '88225b70',
|
||||||
'javelin-typeahead-ondemand-source' => 'fbeded59',
|
'javelin-typeahead-ondemand-source' => '88225b70',
|
||||||
'javelin-typeahead-preloaded-source' => 'fbeded59',
|
'javelin-typeahead-preloaded-source' => '88225b70',
|
||||||
'javelin-typeahead-source' => 'fbeded59',
|
'javelin-typeahead-source' => '88225b70',
|
||||||
'javelin-uri' => 'fbeded59',
|
'javelin-uri' => '88225b70',
|
||||||
'javelin-util' => 'fbeded59',
|
'javelin-util' => '88225b70',
|
||||||
'javelin-vector' => 'fbeded59',
|
'javelin-vector' => '88225b70',
|
||||||
'javelin-workflow' => 'fbeded59',
|
'javelin-workflow' => '88225b70',
|
||||||
'lightbox-attachment-css' => '6ea96b26',
|
'lightbox-attachment-css' => '7d347135',
|
||||||
'maniphest-task-summary-css' => 'e30a3fa8',
|
'maniphest-task-summary-css' => 'e30a3fa8',
|
||||||
'maniphest-transaction-detail-css' => 'e30a3fa8',
|
'maniphest-transaction-detail-css' => 'e30a3fa8',
|
||||||
'phabricator-busy' => '8a3f0fbd',
|
'phabricator-busy' => '8a3f0fbd',
|
||||||
'phabricator-content-source-view-css' => 'ec01d039',
|
'phabricator-content-source-view-css' => 'ec01d039',
|
||||||
'phabricator-core-buttons-css' => '6ea96b26',
|
'phabricator-core-buttons-css' => '7d347135',
|
||||||
'phabricator-core-css' => '6ea96b26',
|
'phabricator-core-css' => '7d347135',
|
||||||
'phabricator-crumbs-view-css' => '6ea96b26',
|
'phabricator-crumbs-view-css' => '7d347135',
|
||||||
'phabricator-directory-css' => '6ea96b26',
|
'phabricator-directory-css' => '7d347135',
|
||||||
'phabricator-drag-and-drop-file-upload' => '1b2c991b',
|
'phabricator-drag-and-drop-file-upload' => '1b2c991b',
|
||||||
'phabricator-dropdown-menu' => '8a3f0fbd',
|
'phabricator-dropdown-menu' => '8a3f0fbd',
|
||||||
'phabricator-file-upload' => '8a3f0fbd',
|
'phabricator-file-upload' => '8a3f0fbd',
|
||||||
'phabricator-filetree-view-css' => '6ea96b26',
|
'phabricator-filetree-view-css' => '7d347135',
|
||||||
'phabricator-flag-css' => '6ea96b26',
|
'phabricator-flag-css' => '7d347135',
|
||||||
'phabricator-form-view-css' => '6ea96b26',
|
'phabricator-form-view-css' => '7d347135',
|
||||||
'phabricator-header-view-css' => '6ea96b26',
|
'phabricator-header-view-css' => '7d347135',
|
||||||
'phabricator-jump-nav' => '6ea96b26',
|
'phabricator-jump-nav' => '7d347135',
|
||||||
'phabricator-keyboard-shortcut' => '8a3f0fbd',
|
'phabricator-keyboard-shortcut' => '8a3f0fbd',
|
||||||
'phabricator-keyboard-shortcut-manager' => '8a3f0fbd',
|
'phabricator-keyboard-shortcut-manager' => '8a3f0fbd',
|
||||||
'phabricator-main-menu-view' => '6ea96b26',
|
'phabricator-main-menu-view' => '7d347135',
|
||||||
'phabricator-menu-item' => '8a3f0fbd',
|
'phabricator-menu-item' => '8a3f0fbd',
|
||||||
'phabricator-nav-view-css' => '6ea96b26',
|
'phabricator-nav-view-css' => '7d347135',
|
||||||
'phabricator-notification' => '8a3f0fbd',
|
'phabricator-notification' => '8a3f0fbd',
|
||||||
'phabricator-notification-css' => '6ea96b26',
|
'phabricator-notification-css' => '7d347135',
|
||||||
'phabricator-notification-menu-css' => '6ea96b26',
|
'phabricator-notification-menu-css' => '7d347135',
|
||||||
'phabricator-object-item-list-view-css' => '6ea96b26',
|
'phabricator-object-item-list-view-css' => '7d347135',
|
||||||
'phabricator-object-selector-css' => 'ec01d039',
|
'phabricator-object-selector-css' => 'ec01d039',
|
||||||
'phabricator-paste-file-upload' => '8a3f0fbd',
|
'phabricator-paste-file-upload' => '8a3f0fbd',
|
||||||
'phabricator-prefab' => '8a3f0fbd',
|
'phabricator-prefab' => '8a3f0fbd',
|
||||||
'phabricator-project-tag-css' => 'e30a3fa8',
|
'phabricator-project-tag-css' => 'e30a3fa8',
|
||||||
'phabricator-remarkup-css' => '6ea96b26',
|
'phabricator-remarkup-css' => '7d347135',
|
||||||
'phabricator-shaped-request' => '1b2c991b',
|
'phabricator-shaped-request' => '1b2c991b',
|
||||||
'phabricator-side-menu-view-css' => '6ea96b26',
|
'phabricator-side-menu-view-css' => '7d347135',
|
||||||
'phabricator-standard-page-view' => '6ea96b26',
|
'phabricator-standard-page-view' => '7d347135',
|
||||||
'phabricator-textareautils' => '8a3f0fbd',
|
'phabricator-textareautils' => '8a3f0fbd',
|
||||||
'phabricator-tooltip' => '8a3f0fbd',
|
'phabricator-tooltip' => '8a3f0fbd',
|
||||||
'phabricator-transaction-view-css' => '6ea96b26',
|
'phabricator-transaction-view-css' => '7d347135',
|
||||||
'phabricator-zindex-css' => '6ea96b26',
|
'phabricator-zindex-css' => '7d347135',
|
||||||
'sprite-apps-large-css' => '6ea96b26',
|
'sprite-apps-large-css' => '7d347135',
|
||||||
'sprite-gradient-css' => '6ea96b26',
|
'sprite-gradient-css' => '7d347135',
|
||||||
'sprite-icon-css' => '6ea96b26',
|
'sprite-icon-css' => '7d347135',
|
||||||
'sprite-menu-css' => '6ea96b26',
|
'sprite-menu-css' => '7d347135',
|
||||||
'syntax-highlighting-css' => '6ea96b26',
|
'syntax-highlighting-css' => '7d347135',
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
|
@ -15,7 +15,6 @@ final class AphrontFormImageControl extends AphrontFormControl {
|
||||||
array(
|
array(
|
||||||
'type' => 'file',
|
'type' => 'file',
|
||||||
'name' => $this->getName(),
|
'name' => $this->getName(),
|
||||||
'class' => 'image',
|
|
||||||
)).
|
)).
|
||||||
'<div style="clear: both;">'.
|
'<div style="clear: both;">'.
|
||||||
phutil_render_tag(
|
phutil_render_tag(
|
||||||
|
|
|
@ -187,10 +187,6 @@ table.aphront-form-control-checkbox-layout th {
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aphront-form-control-image .image {
|
|
||||||
width: 164px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.aphront-form-control-image span {
|
.aphront-form-control-image span {
|
||||||
margin: 0px 4px 0px 2px;
|
margin: 0px 4px 0px 2px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue