1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +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:
Brennan Taylor 2013-02-04 12:43:06 -08:00 committed by epriestley
parent 34c51a61b5
commit 22d5eee82a
3 changed files with 68 additions and 70 deletions

View file

@ -639,7 +639,7 @@ celerity_register_resource_map(array(
),
'aphront-form-view-css' =>
array(
'uri' => '/res/1e191b83/rsrc/css/aphront/form-view.css',
'uri' => '/res/428fbcd8/rsrc/css/aphront/form-view.css',
'type' => 'css',
'requires' =>
array(
@ -1851,12 +1851,15 @@ celerity_register_resource_map(array(
),
'javelin-behavior-pholio-mock-view' =>
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',
'requires' =>
array(
0 => 'javelin-behavior',
1 => 'javelin-stratcom',
2 => 'javelin-dom',
3 => 'javelin-vector',
4 => 'javelin-event',
),
'disk' => '/rsrc/js/application/pholio/behavior-pholio-mock-view.js',
),
@ -2039,7 +2042,7 @@ celerity_register_resource_map(array(
),
'javelin-event' =>
array(
'uri' => '/res/3815b473/rsrc/js/javelin/core/Event.js',
'uri' => '/res/e6582051/rsrc/js/javelin/core/Event.js',
'type' => 'js',
'requires' =>
array(
@ -3191,7 +3194,7 @@ celerity_register_resource_map(array(
),
'pholio-css' =>
array(
'uri' => '/res/f101ad7c/rsrc/css/application/pholio/pholio.css',
'uri' => '/res/595f2721/rsrc/css/application/pholio/pholio.css',
'type' => 'css',
'requires' =>
array(
@ -3381,7 +3384,7 @@ celerity_register_resource_map(array(
), array(
'packages' =>
array(
'6ea96b26' =>
'7d347135' =>
array(
'name' => 'core.pkg.css',
'symbols' =>
@ -3425,7 +3428,7 @@ celerity_register_resource_map(array(
36 => 'phabricator-object-item-list-view-css',
37 => 'global-drag-and-drop-css',
),
'uri' => '/res/pkg/6ea96b26/core.pkg.css',
'uri' => '/res/pkg/7d347135/core.pkg.css',
'type' => 'css',
),
'8a3f0fbd' =>
@ -3556,7 +3559,7 @@ celerity_register_resource_map(array(
'uri' => '/res/pkg/f96657b8/diffusion.pkg.js',
'type' => 'js',
),
'fbeded59' =>
'88225b70' =>
array(
'name' => 'javelin.pkg.js',
'symbols' =>
@ -3581,7 +3584,7 @@ celerity_register_resource_map(array(
17 => 'javelin-typeahead-ondemand-source',
18 => 'javelin-tokenizer',
),
'uri' => '/res/pkg/fbeded59/javelin.pkg.js',
'uri' => '/res/pkg/88225b70/javelin.pkg.js',
'type' => 'js',
),
'e30a3fa8' =>
@ -3615,19 +3618,19 @@ celerity_register_resource_map(array(
'reverse' =>
array(
'aphront-attached-file-view-css' => 'e30a3fa8',
'aphront-crumbs-view-css' => '6ea96b26',
'aphront-dialog-view-css' => '6ea96b26',
'aphront-error-view-css' => '6ea96b26',
'aphront-form-view-css' => '6ea96b26',
'aphront-crumbs-view-css' => '7d347135',
'aphront-dialog-view-css' => '7d347135',
'aphront-error-view-css' => '7d347135',
'aphront-form-view-css' => '7d347135',
'aphront-headsup-action-list-view-css' => 'ec01d039',
'aphront-headsup-view-css' => '6ea96b26',
'aphront-list-filter-view-css' => '6ea96b26',
'aphront-pager-view-css' => '6ea96b26',
'aphront-panel-view-css' => '6ea96b26',
'aphront-table-view-css' => '6ea96b26',
'aphront-tokenizer-control-css' => '6ea96b26',
'aphront-tooltip-css' => '6ea96b26',
'aphront-typeahead-control-css' => '6ea96b26',
'aphront-headsup-view-css' => '7d347135',
'aphront-list-filter-view-css' => '7d347135',
'aphront-pager-view-css' => '7d347135',
'aphront-panel-view-css' => '7d347135',
'aphront-table-view-css' => '7d347135',
'aphront-tokenizer-control-css' => '7d347135',
'aphront-tooltip-css' => '7d347135',
'aphront-typeahead-control-css' => '7d347135',
'differential-changeset-view-css' => 'ec01d039',
'differential-core-view-css' => 'ec01d039',
'differential-inline-comment-editor' => '1b2c991b',
@ -3641,10 +3644,10 @@ celerity_register_resource_map(array(
'differential-table-of-contents-css' => 'ec01d039',
'diffusion-commit-view-css' => 'c8ce2d88',
'diffusion-icons-css' => 'c8ce2d88',
'global-drag-and-drop-css' => '6ea96b26',
'global-drag-and-drop-css' => '7d347135',
'inline-comment-summary-css' => 'ec01d039',
'javelin-aphlict' => '8a3f0fbd',
'javelin-behavior' => 'fbeded59',
'javelin-behavior' => '88225b70',
'javelin-behavior-aphlict-dropdown' => '8a3f0fbd',
'javelin-behavior-aphlict-listen' => '8a3f0fbd',
'javelin-behavior-aphront-basic-tokenizer' => '8a3f0fbd',
@ -3693,66 +3696,66 @@ celerity_register_resource_map(array(
'javelin-behavior-repository-crossreference' => '1b2c991b',
'javelin-behavior-toggle-class' => '8a3f0fbd',
'javelin-behavior-workflow' => '8a3f0fbd',
'javelin-dom' => 'fbeded59',
'javelin-event' => 'fbeded59',
'javelin-install' => 'fbeded59',
'javelin-json' => 'fbeded59',
'javelin-mask' => 'fbeded59',
'javelin-request' => 'fbeded59',
'javelin-resource' => 'fbeded59',
'javelin-stratcom' => 'fbeded59',
'javelin-tokenizer' => 'fbeded59',
'javelin-typeahead' => 'fbeded59',
'javelin-typeahead-normalizer' => 'fbeded59',
'javelin-typeahead-ondemand-source' => 'fbeded59',
'javelin-typeahead-preloaded-source' => 'fbeded59',
'javelin-typeahead-source' => 'fbeded59',
'javelin-uri' => 'fbeded59',
'javelin-util' => 'fbeded59',
'javelin-vector' => 'fbeded59',
'javelin-workflow' => 'fbeded59',
'lightbox-attachment-css' => '6ea96b26',
'javelin-dom' => '88225b70',
'javelin-event' => '88225b70',
'javelin-install' => '88225b70',
'javelin-json' => '88225b70',
'javelin-mask' => '88225b70',
'javelin-request' => '88225b70',
'javelin-resource' => '88225b70',
'javelin-stratcom' => '88225b70',
'javelin-tokenizer' => '88225b70',
'javelin-typeahead' => '88225b70',
'javelin-typeahead-normalizer' => '88225b70',
'javelin-typeahead-ondemand-source' => '88225b70',
'javelin-typeahead-preloaded-source' => '88225b70',
'javelin-typeahead-source' => '88225b70',
'javelin-uri' => '88225b70',
'javelin-util' => '88225b70',
'javelin-vector' => '88225b70',
'javelin-workflow' => '88225b70',
'lightbox-attachment-css' => '7d347135',
'maniphest-task-summary-css' => 'e30a3fa8',
'maniphest-transaction-detail-css' => 'e30a3fa8',
'phabricator-busy' => '8a3f0fbd',
'phabricator-content-source-view-css' => 'ec01d039',
'phabricator-core-buttons-css' => '6ea96b26',
'phabricator-core-css' => '6ea96b26',
'phabricator-crumbs-view-css' => '6ea96b26',
'phabricator-directory-css' => '6ea96b26',
'phabricator-core-buttons-css' => '7d347135',
'phabricator-core-css' => '7d347135',
'phabricator-crumbs-view-css' => '7d347135',
'phabricator-directory-css' => '7d347135',
'phabricator-drag-and-drop-file-upload' => '1b2c991b',
'phabricator-dropdown-menu' => '8a3f0fbd',
'phabricator-file-upload' => '8a3f0fbd',
'phabricator-filetree-view-css' => '6ea96b26',
'phabricator-flag-css' => '6ea96b26',
'phabricator-form-view-css' => '6ea96b26',
'phabricator-header-view-css' => '6ea96b26',
'phabricator-jump-nav' => '6ea96b26',
'phabricator-filetree-view-css' => '7d347135',
'phabricator-flag-css' => '7d347135',
'phabricator-form-view-css' => '7d347135',
'phabricator-header-view-css' => '7d347135',
'phabricator-jump-nav' => '7d347135',
'phabricator-keyboard-shortcut' => '8a3f0fbd',
'phabricator-keyboard-shortcut-manager' => '8a3f0fbd',
'phabricator-main-menu-view' => '6ea96b26',
'phabricator-main-menu-view' => '7d347135',
'phabricator-menu-item' => '8a3f0fbd',
'phabricator-nav-view-css' => '6ea96b26',
'phabricator-nav-view-css' => '7d347135',
'phabricator-notification' => '8a3f0fbd',
'phabricator-notification-css' => '6ea96b26',
'phabricator-notification-menu-css' => '6ea96b26',
'phabricator-object-item-list-view-css' => '6ea96b26',
'phabricator-notification-css' => '7d347135',
'phabricator-notification-menu-css' => '7d347135',
'phabricator-object-item-list-view-css' => '7d347135',
'phabricator-object-selector-css' => 'ec01d039',
'phabricator-paste-file-upload' => '8a3f0fbd',
'phabricator-prefab' => '8a3f0fbd',
'phabricator-project-tag-css' => 'e30a3fa8',
'phabricator-remarkup-css' => '6ea96b26',
'phabricator-remarkup-css' => '7d347135',
'phabricator-shaped-request' => '1b2c991b',
'phabricator-side-menu-view-css' => '6ea96b26',
'phabricator-standard-page-view' => '6ea96b26',
'phabricator-side-menu-view-css' => '7d347135',
'phabricator-standard-page-view' => '7d347135',
'phabricator-textareautils' => '8a3f0fbd',
'phabricator-tooltip' => '8a3f0fbd',
'phabricator-transaction-view-css' => '6ea96b26',
'phabricator-zindex-css' => '6ea96b26',
'sprite-apps-large-css' => '6ea96b26',
'sprite-gradient-css' => '6ea96b26',
'sprite-icon-css' => '6ea96b26',
'sprite-menu-css' => '6ea96b26',
'syntax-highlighting-css' => '6ea96b26',
'phabricator-transaction-view-css' => '7d347135',
'phabricator-zindex-css' => '7d347135',
'sprite-apps-large-css' => '7d347135',
'sprite-gradient-css' => '7d347135',
'sprite-icon-css' => '7d347135',
'sprite-menu-css' => '7d347135',
'syntax-highlighting-css' => '7d347135',
),
));

View file

@ -15,7 +15,6 @@ final class AphrontFormImageControl extends AphrontFormControl {
array(
'type' => 'file',
'name' => $this->getName(),
'class' => 'image',
)).
'<div style="clear: both;">'.
phutil_render_tag(

View file

@ -187,10 +187,6 @@ table.aphront-form-control-checkbox-layout th {
max-width: 400px;
}
.aphront-form-control-image .image {
width: 164px;
}
.aphront-form-control-image span {
margin: 0px 4px 0px 2px;
}