kopia lustrzana https://github.com/wagtail/wagtail
Fix - Ensure that modal tabs width are not impacted by side panel opening
Regression from #11150pull/11703/head
rodzic
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)
|
||||
);
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue