Skip to content

Commit 13b47c7

Browse files
authored
Fix design errors (#831)
Bug: T347190
1 parent fcdb533 commit 13b47c7

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

resources/js/Components/ItemIdSearchTextarea.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
:status="validationError ? validationError.type : 'default'"
1414
v-model="textareaInputValue"
1515
/>
16+
<template #label>
17+
{{$i18n('item-form-id-input-label')}}
18+
</template>
1619
</cdx-field>
1720
</template>
1821

@@ -92,6 +95,7 @@ defineExpose({validate, serializeInput, validationError});
9295
</script>
9396

9497
<style lang="scss">
98+
@import '~@wmde/wikit-tokens/dist/_variables.scss';
9599
96100
.cdx-field__control {
97101
position: relative;
@@ -105,6 +109,10 @@ defineExpose({validate, serializeInput, validationError});
105109
.cdx-progress-bar {
106110
width: 50%;
107111
margin: auto;
112+
113+
@media (max-width: $width-breakpoint-tablet) {
114+
width: 80%;
115+
}
108116
}
109117
}
110118
}

resources/js/Pages/Home.vue

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -197,21 +197,5 @@ function showRandom(): void{
197197
.form-buttons {
198198
text-align: end;
199199
}
200-
201-
.cdx-field__control {
202-
position: relative;
203-
width: 100%;
204-
205-
.progress-bar-wrapper {
206-
position: absolute;
207-
top: 50%;
208-
width: 100%;
209-
210-
.cdx-progress-bar {
211-
width: 50%;
212-
margin: auto;
213-
}
214-
}
215-
}
216200
}
217201
</style>

0 commit comments

Comments
 (0)