-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fix uploading text position #30423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix uploading text position #30423
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -428,11 +428,6 @@ table { | |||||||
| padding: 0 20px 0 0; | ||||||||
| } | ||||||||
| } | ||||||||
|
|
||||||||
| .uploadtext { | ||||||||
| position: absolute; | ||||||||
| left: 55px; | ||||||||
| } | ||||||||
| } | ||||||||
|
|
||||||||
| .hide-hidden-files #filestable #fileList tr.hidden-file, | ||||||||
|
|
@@ -460,13 +455,22 @@ table td.filename .nametext .innernametext { | |||||||
| /* for smaller resolutions - see mobile.css */ | ||||||||
|
|
||||||||
| table td.filename .uploadtext { | ||||||||
| position: absolute; | ||||||||
| font-weight: normal; | ||||||||
| margin-left: 55px; | ||||||||
| margin-top: 5px; | ||||||||
| // checkbox width | ||||||||
| margin-left: 50px; | ||||||||
| left: 0; | ||||||||
| bottom: 0; | ||||||||
| height: 20px; | ||||||||
| padding: 10px 0; | ||||||||
| padding: 0 4px; | ||||||||
| // align with file name | ||||||||
| padding-left: 1px; | ||||||||
| font-size: 11px; | ||||||||
| opacity: .5; | ||||||||
| // double the font size | ||||||||
| line-height: 22px; | ||||||||
| color: var(--color-text-maxcontrast); | ||||||||
| text-overflow: ellipsis; | ||||||||
| white-space: nowrap; | ||||||||
| } | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, actually it's broken because of the absolute. It has no effect, maybe for a later rewrite 🤷
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But it works in grid view... |
||||||||
|
|
||||||||
| table td.selection { | ||||||||
|
|
@@ -988,6 +992,18 @@ table.dragshadow td.size { | |||||||
| } | ||||||||
| } | ||||||||
|
|
||||||||
| .uploadtext { | ||||||||
| width: 100%; | ||||||||
| margin: 0; | ||||||||
| top: 0; | ||||||||
| bottom: auto; | ||||||||
| // checkbox align | ||||||||
| height: 28px; | ||||||||
| padding-top: 4px; | ||||||||
| // checkbox margins | ||||||||
| padding-left: calc(44px - 16px); | ||||||||
| } | ||||||||
|
|
||||||||
| .name { | ||||||||
| height: 100%; | ||||||||
| border-radius: var(--border-radius); | ||||||||
|
|
||||||||
Uh oh!
There was an error while loading. Please reload this page.