mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-25 05:02:57 +01:00
Fix - Ensure that modal tabs width are not impacted by side panel opening
Regression from #11150
This commit is contained in:
parent
96ae004ce7
commit
07d6acfb52
@ -40,6 +40,12 @@ Changelog
|
||||
* Maintenance: Remove usage of inline scripts and instead use event dispatching to instantiate standalone Draftail editor instances (Chiemezuo Akujobi)
|
||||
|
||||
|
||||
6.0.2 (xx.xx.xxxx) - IN DEVELOPMENT
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* Fix: Ensure that modal tabs width are not impacted by side panel opening (LB (Ben) Johnston)
|
||||
|
||||
|
||||
6.0.1 (15.02.2024)
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
@ -4,22 +4,25 @@
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
.minimap-open {
|
||||
.tab-content {
|
||||
width: theme('width.[4/5]');
|
||||
.w-form-width {
|
||||
max-width: theme('width.[4/5]');
|
||||
}
|
||||
}
|
||||
|
||||
.side-panel-open {
|
||||
.tab-content {
|
||||
.w-form-width {
|
||||
// Account for dynamic width of the side panel when open.
|
||||
width: max(theme('width.[1/3]'), calc(100% - var(--side-panel-width)));
|
||||
max-width: max(
|
||||
theme('width.[1/3]'),
|
||||
calc(100% - var(--side-panel-width))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
.side-panel-open.minimap-open {
|
||||
.tab-content {
|
||||
.w-form-width {
|
||||
// Account for additional space taken up by the minimap.
|
||||
width: max(
|
||||
max-width: max(
|
||||
theme('width.[2/5]'),
|
||||
calc(100% - var(--side-panel-width) - 15rem)
|
||||
);
|
||||
|
16
docs/releases/6.0.2.md
Normal file
16
docs/releases/6.0.2.md
Normal file
@ -0,0 +1,16 @@
|
||||
# Wagtail 6.0.2 release notes - IN DEVELOPMENT
|
||||
|
||||
_Unreleased_
|
||||
|
||||
```{contents}
|
||||
---
|
||||
local:
|
||||
depth: 1
|
||||
---
|
||||
```
|
||||
|
||||
## What's new
|
||||
|
||||
### Bug fixes
|
||||
|
||||
* Ensure that modal tabs width are not impacted by side panel opening (LB (Ben) Johnston)
|
@ -6,6 +6,7 @@ Release notes
|
||||
|
||||
upgrading
|
||||
6.1
|
||||
6.0.2
|
||||
6.0.1
|
||||
6.0
|
||||
5.2.3
|
||||
|
Loading…
Reference in New Issue
Block a user