Skip to content

Commit a66aa16

Browse files
authored
refactor(single-document-details): document title and edit title form (#1038)
1 parent a53372e commit a66aa16

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

addon/components/single-document-details.hbs

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</label>
2121

2222
<div
23-
class="uk-flex uk-flex-middle uk-text-large uk-text-break"
23+
class="uk-flex uk-flex-middle uk-text-break"
2424
data-test-title-container
2525
>
2626
<FaIcon
@@ -31,9 +31,9 @@
3131
{{set-style color=@document.category.color}}
3232
/>
3333
{{#if this.editTitle}}
34-
<form {{on "submit" (perform this.saveDocument)}}>
34+
<form {{on "submit" (perform this.saveDocument)}} class="uk-flex uk-width-expand">
3535
<input
36-
class="uk-input uk-width-auto
36+
class="uk-input uk-width-expand
3737
{{unless this.validTitle 'uk-form-danger'}}"
3838
id="alexandria-details-title"
3939
type="text"
@@ -51,7 +51,7 @@
5151
></button>
5252
</form>
5353
{{else}}
54-
<span data-test-title>{{@document.title}}</span>
54+
<span class="uk-text-bolder" data-test-title>{{@document.title}}</span>
5555
{{/if}}
5656
</div>
5757
</div>

0 commit comments

Comments
 (0)