We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
管理画面ログイン状態で、ユーザー画面側で管理ツールバーが表示されているとき、一部imgの width= タグがユーザー側のcssのスタイルで上書きされてしまうケースがあります。 toolbar.phpで使用しているBcBaser->getImg()のオプションの['width' => 8, 'height' => 11, ]でインラインとして出力される width="8" は、ユーザー(テーマ側)のcssのスタイル設定で例えば body img {style="width:100%;"} などとした場合、優先して機能せず、上書きされてしまう。
BcBaser->getImg()
width="8"
body img {style="width:100%;"}
baserCMS version : 4.8.1
admin-second/
admin-third/
5系でも再現するはず。
The text was updated successfully, but these errors were encountered:
@GUSSAN-BEEDAN こちらのコミットで、設定をCSS側に移動しました。改善できるか確認頂けますか?
Sorry, something went wrong.
5系について、Github最新の開発コミット版にて、改善されていることを確認いたしました。
fix baserproject#3836 Update toolbar.php
f281fc6
25c55fc
fix baserproject#3836
e0799ea
toolbar.phpで使用しているBcBaser->getImg()のオプションの['width' => 8, 'height' => 11, ]を削除し、cssのスタイルに移行。
0fe1313
No branches or pull requests
概要
管理画面ログイン状態で、ユーザー画面側で管理ツールバーが表示されているとき、一部imgの width= タグがユーザー側のcssのスタイルで上書きされてしまうケースがあります。
toolbar.phpで使用している
BcBaser->getImg()
のオプションの['width' => 8, 'height' => 11, ]でインラインとして出力されるwidth="8"
は、ユーザー(テーマ側)のcssのスタイル設定で例えばbody img {style="width:100%;"}
などとした場合、優先して機能せず、上書きされてしまう。baserCMS version : 4.8.1
TODO
admin-second/
BcBaser->getImg()
のオプションの['width' => 8, 'height' => 11, ]を['style' => 'width:8px; height:11px', ]に変更。admin-third/
BcBaser->getImg()
のオプションの['width' => 8, 'height' => 11, ]を['style' => 'width:8px; height:11px', ]に変更。備考
5系でも再現するはず。
The text was updated successfully, but these errors were encountered: