1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #39594 from benoittgt/easier-copy-past-command

Easier shell command selection in Rails guide
This commit is contained in:
Xavier Noria 2020-06-13 22:35:02 +02:00 committed by GitHub
commit 4c59430187
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -728,6 +728,14 @@ div.important p, div.caution p, div.warning p, div.note p, div.info p {
margin-bottom: 1em;
}
/* Prevent shell prompt from being selectable when selecting commands*/
code.language-shell-session span.token.command {
display: inline-flex;
}
span.token.sh.important {
margin-right: 0.5em;
}
/* Edge Badge
--------------------------------------- */