Skip to content

Commit 3da023e

Browse files
committed
Improve notcreatable permissions hint
Signed-off-by: szaimen <[email protected]>
1 parent 3e67637 commit 3da023e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

apps/files/css/files.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -834,9 +834,13 @@ table.dragshadow td.size {
834834
}
835835

836836
.notCreatable {
837-
padding-left: 12px;
838-
padding-top: 12px;
839-
color: var(--color-text-lighter);
837+
margin-left: 12px;
838+
margin-right: 44px;
839+
margin-top: 12px;
840+
color: var(--color-main-text);
841+
overflow: auto;
842+
min-width: 160px;
843+
height: 54px;
840844
}
841845

842846
#quota {

apps/files/templates/list.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</div>
66
<div id="file_action_panel"></div>
77
<div class="notCreatable notPublic hidden">
8-
<?php p($l->t('You don’t have permission to upload or create files here'))?>
8+
<?php p('⚠️ ' . $l->t('You don’t have permission to upload or create files here'))?>
99
</div>
1010
<?php /* Note: the template attributes are here only for the public page. These are normally loaded
1111
through ajax instead (updateStorageStatistics).

0 commit comments

Comments
 (0)