-
Notifications
You must be signed in to change notification settings - Fork 9
Fix textarea design errors #831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,9 @@ | |
| :status="validationError ? validationError.type : 'default'" | ||
| v-model="textareaInputValue" | ||
| /> | ||
| <template #label> | ||
| {{$i18n('item-form-id-input-label')}} | ||
| </template> | ||
| </cdx-field> | ||
| </template> | ||
|
|
||
|
|
@@ -92,6 +95,7 @@ defineExpose({validate, serializeInput, validationError}); | |
| </script> | ||
|
|
||
| <style lang="scss"> | ||
| @import '~@wmde/wikit-tokens/dist/_variables.scss'; | ||
|
|
||
| .cdx-field__control { | ||
| position: relative; | ||
|
|
@@ -105,6 +109,10 @@ defineExpose({validate, serializeInput, validationError}); | |
| .cdx-progress-bar { | ||
| width: 50%; | ||
| margin: auto; | ||
|
|
||
| @media (max-width: $width-breakpoint-tablet) { | ||
| width: 80%; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. works nicely, i got a cute little progress bar on mobile. |
||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -197,21 +197,5 @@ function showRandom(): void{ | |
| .form-buttons { | ||
| text-align: end; | ||
| } | ||
|
|
||
| .cdx-field__control { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing this from |
||
| position: relative; | ||
| width: 100%; | ||
|
|
||
| .progress-bar-wrapper { | ||
| position: absolute; | ||
| top: 50%; | ||
| width: 100%; | ||
|
|
||
| .cdx-progress-bar { | ||
| width: 50%; | ||
| margin: auto; | ||
| } | ||
| } | ||
| } | ||
| } | ||
| </style> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a merge blocker, but the label automatically gets a font-weight of 700 (on Firefox for me) which appears bolder than the Figma illustration shows. I still think this can go ahead since we will be revamping the styles we missed once tokens are on development anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah ok. yes, this isn't inside any div, will merge and yeah we need to check this later as you say.