Skip to content

Commit

Permalink
BUG AssetUploadField hides "generic" file upload messages.
Browse files Browse the repository at this point in the history
If an upload fails, the error is not shown correctly, it gets hidden
off the table because of absolute positioning. This currently worked
because it relied upon known errors not showing a "size" element next
to it.

"ui-state-warning-text" and "ui-state-success-text" don't need this
CSS, so it's probably not necessary anyway as it shows the error text
correctly without it.
  • Loading branch information
Sean Harvey committed Jul 28, 2014
1 parent f7a9005 commit 329dffd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion css/AssetUploadField.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions scss/AssetUploadField.scss
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,6 @@ body.cms.ss-uploadfield-edit-iframe, .composite.ss-assetuploadfield .details fie
text-shadow: 0px 1px 0px rgba(#fff, 0.5);

&.ui-state-error-text {
max-width:70%;
position:absolute;
right:5px;
text-shadow: 0px 1px 0px rgba(#fff, 0.6);
color: darken($color-button-destructive, 10%);
}
Expand Down

0 comments on commit 329dffd

Please sign in to comment.