kopia lustrzana https://github.com/wagtail/wagtail
Fixing #2393, replacing rem with em
rodzic
544c871b80
commit
a3d36a122c
|
@ -32,6 +32,7 @@ Changelog
|
|||
* Fix: Direct usage of `Document` model replaced with `get_document_model` function in `wagtail.contrib.wagtailmedusa` and in `wagtail.contrib.wagtailapi`
|
||||
* Fix: Failures on sending moderation notification emails now produce a warning, rather than crashing the admin page outright (Matt Fozard)
|
||||
* Fix: All admin forms that could potentially include file upload fields now specify `multipart/form-data` where appropriate (Tim Heap)
|
||||
* Fix: REM units in Wagtailuserbar caused incorrect spacing (Vincent Audebert)
|
||||
|
||||
|
||||
1.4.4 (xx.xx.2016)
|
||||
|
|
|
@ -125,6 +125,7 @@ Contributors
|
|||
* Andy Babic
|
||||
* Tomas Olander
|
||||
* Andrew Tork Baker
|
||||
* Vincent Audebert
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -61,6 +61,7 @@ Bug fixes
|
|||
* Direct usage of ``Document`` model replaced with ``get_document_model`` function in ``wagtail.contrib.wagtailmedusa`` and in ``wagtail.contrib.wagtailapi``
|
||||
* Failures on sending moderation notification emails now produce a warning, rather than crashing the admin page outright (Matt Fozard)
|
||||
* Fix: All admin forms that could potentially include file upload fields now specify ``multipart/form-data`` where appropriate (Tim Heap)
|
||||
* Fix: REM units in Wagtailuserbar caused incorrect spacing (Vincent Audebert)
|
||||
|
||||
|
||||
Upgrade considerations
|
||||
|
|
|
@ -3,13 +3,12 @@
|
|||
@import 'wagtailadmin/scss/font-icons';
|
||||
@import 'wagtailadmin/scss/variables-icons';
|
||||
|
||||
|
||||
// =============================================================================
|
||||
// Variables
|
||||
// =============================================================================
|
||||
|
||||
$size-home-button: 3.5em;
|
||||
$position: 2rem;
|
||||
$position: 2em;
|
||||
$width-arrow: .6em;
|
||||
$box-shadow-props: 0 0 1px 0 rgba(107, 214, 230, 1);
|
||||
$max-items: 12;
|
||||
|
@ -239,7 +238,7 @@ $positions: (
|
|||
input {
|
||||
font-size: 14px !important;
|
||||
text-align: left;
|
||||
padding: 0.8rem 1.7rem 0.8rem 3.5rem;
|
||||
padding: 0.8em 1.7em 0.8em 2.7em;
|
||||
}
|
||||
|
||||
input {
|
||||
|
@ -274,11 +273,11 @@ $positions: (
|
|||
.#{$namespace}-userbar-nav .#{$namespace}-userbar__item {
|
||||
// Yes, we could use an @else, but there's a bug in scss-lint.
|
||||
@if $vertical == 'bottom' {
|
||||
transform: translateY(1rem);
|
||||
transform: translateY(1em);
|
||||
}
|
||||
|
||||
@if $vertical == 'top' {
|
||||
transform: translateY(-1rem);
|
||||
transform: translateY(-1em);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue