Skip to content
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

14章のUnfollowボタンのレイアウトがキャプチャと異なる #8

Closed
tunepolo opened this issue Feb 9, 2019 · 2 comments

Comments

@tunepolo
Copy link
Contributor

tunepolo commented Feb 9, 2019

下記のTeratail質問と同じ現象に遭遇しました。

このリポジトリのサンプル 5_1_2/ch14 を動かしてもボタンに灰色の背景が付いていません。
コードかキャプチャかどちらかが間違っているのではないでしょうか?

確認は"Google Chrome バージョン: 71.0.3578.98(Official Build) (64 ビット)"で行いました。

サンプルコードで用いているgemの'bootstrap-sass'はBootstrap3系に対応しているようですが、ボタンのスタイルを見てもキャプチャと類似するものはありません。

https://getbootstrap.com/docs/3.3/css/#buttons

@yasulab
Copy link
Member

yasulab commented Oct 14, 2021

ご指摘ありがとうございます! こちら見逃してました (>人< )💦
手元の環境で確認した限りでは、問題なく動いているようでした 👀 ✅
(Bootstrap のマイナーバージョン以下で挙動が異なるのかもしれないですね 🤔💭)

image

とはいえ btn-default を追加しても大きく挙動が変わることはなかったので、Bootstrap の細かなバージョン差異が影響しているケースも鑑みて、念のためコードの方にも下記のとおり btn-default クラスを追加しておきました! 🛠💨

image

フィードバックありがとうございます...!! (>人< )✨

@tunepolo
Copy link
Contributor Author

ありがとうございます。2年前はChrome71だったのか・・

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

No branches or pull requests

2 participants