diff options
author | Mark Otto <markd.otto@gmail.com> | 2020-06-16 21:30:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-16 21:30:40 +0300 |
commit | 970f3b3a8fb2ebdb559cd380cc2820d932ffb33d (patch) | |
tree | b7260f9944bde2b521a3d477c121d36ad11e1189 /scss | |
parent | 11e63c1b36975b804db86be6ac0ffcf9727c4dde (diff) |
v5: Add role=button cursor in Reboot (#31040)
* v5: Add role=button cursor in Reboot
Ports the changes from #30562 made in v4.5 and adds them to v5. This replaces #30563 which sought to add this to the utility API, but the v4 PR shifted to implement an accessible solution vs a lone utility.
* Update reboot.md
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Diffstat (limited to 'scss')
-rw-r--r-- | scss/_reboot.scss | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 85306b9429..b3763d05a7 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -441,6 +441,13 @@ select { text-transform: none; } +// Set the cursor for non-`<button>` buttons +// +// Details at https://github.com/twbs/bootstrap/pull/30562 +[role="button"] { + cursor: pointer; +} + // Remove the inheritance of word-wrap in Safari. // See https://github.com/twbs/bootstrap/issues/24990 |