File tree 2 files changed +15
-8
lines changed
2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 18
18
vue/attributes-order : [0]
19
19
vue/html-closing-bracket-spacing : [2, {startTag: never, endTag: never, selfClosingTag: never}]
20
20
vue/max-attributes-per-line : [0]
21
+ vue/singleline-html-element-content-newline : [0]
21
22
vue-scoped-css/enforce-style-type : [0]
Original file line number Diff line number Diff line change @@ -91,16 +91,22 @@ export default {
91
91
< template>
92
92
< div ref= " root" >
93
93
< div v- if = " loading" class = " tw-h-12 tw-w-12 is-loading" / >
94
- < div v- if = " !loading && issue !== null" >
95
- < p>< small> {{ issue .repository .full_name }} on {{ createdAt }}< / small>< / p>
96
- < p>< svg- icon : name= " icon" : class = " ['text', color]" / > < strong> {{ issue .title }}< / strong> #{{ issue .number }}< / p>
97
- < p> {{ body }}< / p>
94
+ < div v- if = " !loading && issue !== null" class = " tw-flex tw-flex-col tw-gap-2" >
95
+ < div class = " tw-text-12" > {{ issue .repository .full_name }} on {{ createdAt }}< / div>
96
+ < div class = " flex-text-block" >
97
+ < svg- icon : name= " icon" : class = " ['text', color]" / >
98
+ < span class = " issue-title tw-font-semibold tw-break-anywhere" >
99
+ {{ issue .title }}
100
+ < span class = " index" > #{{ issue .number }}< / span>
101
+ < / span>
102
+ < / div>
103
+ < div v- if = " body" > {{ body }}< / div>
98
104
<!-- eslint- disable- next- line vue/ no- v- html -->
99
- < div v- html= " renderedLabels" / >
105
+ < div v- if = " issue.labels.length " v - html= " renderedLabels" / >
100
106
< / div>
101
- < div v- if = " !loading && issue === null" >
102
- < p >< small > {{ i18nErrorOccurred }}< / small >< / p >
103
- < p > {{ i18nErrorMessage }}< / p >
107
+ < div class = " tw-flex tw-flex-col tw-gap-2 " v- if = " !loading && issue === null" >
108
+ < div class = " tw-text-12 " > {{ i18nErrorOccurred }}< / div >
109
+ < div > {{ i18nErrorMessage }}< / div >
104
110
< / div>
105
111
< / div>
106
112
< / template>
You can’t perform that action at this time.
0 commit comments