File tree 2 files changed +8
-2
lines changed
packages/ember-toucan-core/src/components/form/file-input
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @crowdstrike/ember-toucan-core ' : patch
3
+ ---
4
+
5
+ Updated ` <Form::Fields::FileInput ` styling to match designs. This included updates to the disabled state as well as the list items.
Original file line number Diff line number Diff line change 1
1
<li
2
- class =" bg-overlay-1 focus:outline-none focus:shadow-focus-outline m-0 flex items-center rounded-sm px-2 py-1 transition-shadow
2
+ class =" bg-overlay-1 focus:outline-none focus:shadow-focus-outline m-0 flex items-center justify-between rounded-sm px-2 py-1 transition-shadow
3
3
{{ if @isDisabled ' text-disabled' ' text-titles-and-attributes' }}
4
4
{{ if
5
5
@hasError
8
8
}} "
9
9
...attributes
10
10
>
11
- <div class =" mr-4 flex-1 py-1" >
11
+ {{! The `pl-2` added here is to offset the spacing added by the delete button below so that the horizontal axis spacing appears identical }}
12
+ <div class =" flex-1 py-1 pl-2" >
12
13
<p class =" type-md-tight m-0 truncate p-0" data-file-name>{{ @file.name }} </p >
13
14
<span
14
15
class =" text-body-and-labels type-xs-tight mt-1 block"
You can’t perform that action at this time.
0 commit comments