-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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(file-uploader): change button from sm to default primary #2048
Changes from 14 commits
f896874
f5cee8c
299ebb7
5977218
3274d03
1b942dd
0c68ac5
60515e5
b4b45ae
f87c085
18a0254
1bdf59f
d956534
948733a
2c434b6
3f601fc
b88f700
875d906
919aebe
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
<p class="{{@root.prefix}}--label-description">only .jpg and .png files. 500kb max file size.</p> | ||
<div class="{{@root.prefix}}--file" data-file> | ||
<label for="your-file-importer-id-here" | ||
class="{{@root.prefix}}--file-btn {{@root.prefix}}--btn {{@root.prefix}}--btn--primary {{@root.prefix}}--btn--sm" | ||
class="{{@root.prefix}}--file-btn {{@root.prefix}}--btn {{@root.prefix}}--btn--primary {{#if componentsX}}{{else}}{{@root.prefix}}--btn--sm{{/if}}" | ||
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. @asudoh This feels a little sketchy -- let me know if there's a smarter way to do this. 👍 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. you may want to use 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. Ah, exactly! Thanks 💪 |
||
role="button" tabindex="0">Add file</label> | ||
<input type="file" class="{{@root.prefix}}--file-input" id="your-file-importer-id-here" data-file-uploader | ||
data-target="[data-file-container]" multiple /> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that this portion of the markup affects
v9
as well - Can we rope it off?