File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -852,19 +852,27 @@ table.dragshadow td.size {
852852 .nametext {
853853 display : flex ;
854854 height : 44px ;
855- overflow : hidden ;
856- text-overflow : ellipsis ;
857- white-space : nowrap ;
858855 margin-top : $grid-size - $grid-pad ;
859- padding-right : 0 ;
860- text-align : right ;
856+ text-align : center ;
861857 line-height : 44px ;
862- padding-left : $grid-pad ; // same as action icon right padding
858+ padding : 0 ;
863859
864860 .innernametext {
865861 display : inline-block ;
866- width : 100% ;
867- max-width : 80px ;
862+ text-align : center ;
863+ overflow : hidden ;
864+ text-overflow : ellipsis ;
865+ white-space : nowrap ;
866+ }
867+ & :before {
868+ content : ' ' ;
869+ flex : 1 ;
870+ min-width : 14px ;
871+ }
872+ & :after {
873+ content : ' ' ;
874+ flex : 1 ;
875+ min-width : 44px ;
868876 }
869877
870878 /* No space for extension in grid view */
@@ -878,6 +886,8 @@ table.dragshadow td.size {
878886 margin-top : $grid-size - $grid-pad ;
879887 display : flex ;
880888 align-items : center ;
889+ position : absolute ;
890+ right : 0 ;
881891
882892 .action {
883893 padding : $grid-pad ;
@@ -887,17 +897,8 @@ table.dragshadow td.size {
887897 align-items : center ;
888898 justify-content : center ;
889899
890- & .action-share.permanent.shared-style span {
891- /* Do not show "Shared" text next to icon as there is no space */
892- & :not (.icon ) {
893- display : none ;
894- }
895-
896- /* If an avatar is present, show that instead of the icon */
897- & .avatar {
898- display : inline-block ;
899- position : absolute ;
900- }
900+ & .action.action-share.permanent {
901+ display : none ;
901902 }
902903
903904 /* In "Deleted files", do not show "Restore" text next to icon as there is no space */
You can’t perform that action at this time.
0 commit comments