File tree Expand file tree Collapse file tree 1 file changed +18
-15
lines changed
Expand file tree Collapse file tree 1 file changed +18
-15
lines changed Original file line number Diff line number Diff line change 2323 v-if =" mismatch.wikidata_value === ''"
2424 >
2525 {{ $i18n('empty-value') }}
26- </span >
26+ </span >
2727 <a
2828 v-else
2929 class =" break-line-link"
108108 >
109109 <a
110110 class =" uploader"
111- :href =" `https://www.wikidata.org/wiki/User:${mismatch.import_meta.user.username}`"
111+ :href =" `https://www.wikidata.org/wiki/User:${mismatch.import_meta.user.username}`"
112112 target =" _blank"
113113 >
114114 {{ mismatch.import_meta.user.username }}
126126import { formatISO } from ' date-fns' ;
127127import { computed , ref } from ' vue' ;
128128import { CdxButton , CdxDialog , CdxSelect } from " @wikimedia/codex" ;
129- import { MenuItem } from ' @wmde/wikit-vue-components/dist/components/MenuItem' ;
130129import { LabelledMismatch , ReviewDecision } from " ../types/Mismatch" ;
131130import { useI18n } from ' vue-banana-i18n' ;
132131
133132const truncateLength = 100 ;
134133
134+ type MenuItem = {
135+ label: string ;
136+ description: string ;
137+ tag? : string ;
138+ }
139+
135140interface ReviewMenuItem extends MenuItem {
136141 value: ReviewDecision ;
137142}
@@ -193,18 +198,16 @@ function showDialog(e: Event) {
193198<style lang="scss">
194199@import " @wikimedia/codex-design-tokens/theme-wikimedia-ui" ;
195200
196- a {
197- break-line-link {
198- width : 100%
199- }
200- }
201+ .full-description-button {
202+ padding : 0 2px ;
203+ font-weight : 400 ;
204+ }
201205
202- .full-description-button {
203- padding : 0 2px ;
204- font-weight : 400 ;
205- }
206+ .empty-value {
207+ color : $color-disabled ;
208+ }
206209
207- .empty-value {
208- color : $color-disabled ;
209- }
210+ .cdx-menu-item {
211+ margin : 0 ;
212+ }
210213 </style >
You can’t perform that action at this time.
0 commit comments