Skip to content

[A11Y-77] Remove __useDeprecatedTag usage from TeacherDashboardHeader.jsx - #51295

Merged
levadadenys merged 1 commit into
stagingfrom
denys/a11y/a11y-77
Apr 13, 2023
Merged

[A11Y-77] Remove __useDeprecatedTag usage from TeacherDashboardHeader.jsx#51295
levadadenys merged 1 commit into
stagingfrom
denys/a11y/a11y-77

Conversation

@levadadenys

@levadadenys levadadenys commented Apr 12, 2023

Copy link
Copy Markdown
Contributor

[A11Y-77] Remove __useDeprecatedTag usage from TeacherDashboardHeader.jsx

Before:
Знімок екрана 2023-04-12 о 16 47 15

After:
Знімок екрана 2023-04-12 о 17 00 42

Links

Testing story

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@levadadenys
levadadenys requested a review from a team April 12, 2023 16:56
@levadadenys
levadadenys marked this pull request as ready for review April 12, 2023 16:56
@levadadenys
levadadenys requested a review from a team April 12, 2023 16:57
@levadadenys levadadenys changed the title remove __useDeprecatedTag usage from TeacherDashboardHeader.jsx [A11Y-77] Remove __useDeprecatedTag usage from TeacherDashboardHeader.jsx Apr 12, 2023
},
buttonWithMargin: {
marginRight: '5px'
margin: 0,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the reason for this change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad you asked! Since it'll be button instead of a div it'll have margin: 5px; style from application.scss button base style. This line is needed to overwrite base style and keep the button appearance be the same it was before changing div to button

@levadadenys
levadadenys merged commit e101d36 into staging Apr 13, 2023
@levadadenys
levadadenys deleted the denys/a11y/a11y-77 branch April 13, 2023 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants