Skip to content

Commit

Permalink
update placeholder text
Browse files Browse the repository at this point in the history
  • Loading branch information
kiaking committed Jan 28, 2025
1 parent af75e82 commit f093d19
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions lib/components/SInputFileUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,20 +182,18 @@ function toFileObjects(files: File[]) {
<div class="drop-zone-box">
<STrans lang="en">
<div class="drop-zone-text">
<div>Drag & Drop files here</div>
<div>Or</div>
Drag and drop files here, or
</div>
<div class="drop-zone-action">
<SButton size="mini" label="Select files" />
</div>
</STrans>
<STrans lang="ja">
<div class="drop-zone-text">
<div>ファイルをドラック&ドロップ</div>
<div>もしくは</div>
ファイルをドラック&ドロップ、または
</div>
<div class="drop-zone-action">
<SButton size="small" label="ファイルを選択" />
<SButton size="mini" label="ファイルを選択" />
</div>
</STrans>
</div>
Expand Down Expand Up @@ -267,7 +265,7 @@ function toFileObjects(files: File[]) {
flex-direction: column;
justify-content: center;
align-items: center;
gap: 8px;
gap: 16px;
border: 1px dashed var(--c-border-mute-1);
border-radius: 3px;
padding: 24px 0;
Expand All @@ -277,9 +275,6 @@ function toFileObjects(files: File[]) {
}
.drop-zone-text {
display: flex;
flex-direction: column;
gap: 2px;
text-align: center;
font-size: 14px;
color: var(--c-text-2);
Expand Down

0 comments on commit f093d19

Please sign in to comment.