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

[ Bug fix ] Fix block width on editor with narrow screen. #1216

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions _g3/assets/_scss/block/_block_width_editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,19 @@ body{
body:where(:not(.is-fullscreen-mode)) {
--vk-width-editor-leftmenu:160px;
&.folded {
// 手動で畳まれば場合
// manual folded
// 単位を指定しないと calc が計算できないので注意
--vk-width-editor-leftmenu:36px;
}
&.auto-fold {
@media ( max-width: 960px ) {
--vk-width-editor-leftmenu:36px;
}
@media ( max-width: 782px ) {
--vk-width-editor-leftmenu:0px;
}
}
}

// In case the right sidebar is open
Expand Down
2 changes: 1 addition & 1 deletion _g3/assets/css/editor.css

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ [email protected]

== Changelog ==

[ G3 ][ Bug fix ] Fix block width on editor with narrow screen.

v15.29.3
[ Bug fix ][ G3 ] Fix prev next design on post page.


v15.29.2
[ Specification Change ] Load vk-component from composer.

Expand Down
Loading