File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 .fr-download {
7676 margin-bottom : 0.5rem ;
7777 }
78+
79+ li + li {
80+ margin-top : 0.5rem ;
81+ }
82+ }
83+
84+ .attachment-row :last-child {
85+ margin-bottom : 0 !important ;
7886}
7987
8088// Legacy support
@@ -95,6 +103,13 @@ ul[data-file-input-reset-target='fileList'] {
95103 border-color 0.2s ,
96104 border-style 0.2s ,
97105 background-color 0.2s ;
106+
107+ @media (max-width : 48em ) {
108+ border : none ;
109+ background-color : transparent ;
110+ text-align : left ;
111+ padding : 0 !important ;
112+ }
98113 }
99114 .fr-hr-or {
100115 max-width : 90px ;
Original file line number Diff line number Diff line change 11< div
2- class ="fr-mt-3w "
2+ class ="fr-mt-0 fr-mb-3w attachment-row "
33 id ="<%= dom_id ( attachment , :persisted_row ) %> "
44 data-attachment-row ="true "
55>
Original file line number Diff line number Diff line change 1717 class ="<%= drop_zone_decorator . css_class %> "
1818 >
1919 < div
20- class ="attachment-drop-area fr-p-3w "
20+ class ="attachment-drop-area fr-p-2w "
2121 role ="button "
2222 tabindex ="0 "
2323 aria-label ="<%= t ( '.drop_zone_aria_label' ) %> "
2424 data-action ="click->drop-target#openFilePicker keydown.enter->drop-target#openFilePicker keydown.space->drop-target#openFilePicker "
2525 >
26- < span class ="fr-icon-upload-line " aria-hidden ="true "> </ span >
26+ < span
27+ class ="fr-icon-upload-line fr-hidden fr-unhidden-md "
28+ aria-hidden ="true "
29+ > </ span >
2730
28- < p > <%= t ( '.drop_zone_label' , count : @max ) %> </ p >
29- < p class ="fr-hr-or "> <%= t ( '.or' ) %> </ p >
31+ < p class ="fr-mb-1v fr-hidden fr-unhidden-md ">
32+ <%= t ( '.drop_zone_label' , count : @max ) %>
33+ </ p >
34+
35+ < p class ="fr-hr-or fr-mb-2v fr-hidden fr-unhidden-md ">
36+ <%= t ( '.or' ) %>
37+ </ p >
3038
3139 < button
3240 class ="fr-btn fr-btn--secondary fr-btn--sm "
You can’t perform that action at this time.
0 commit comments