mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
header remove left align with too small
This commit is contained in:
1
dist/js/ionic.js
vendored
1
dist/js/ionic.js
vendored
@@ -2933,7 +2933,6 @@ window.ionic = {
|
||||
title.style.right = margin + 'px';
|
||||
}
|
||||
if(title.offsetWidth < title.scrollWidth) {
|
||||
title.classList.add('title-left');
|
||||
if(rightWidth > 0) {
|
||||
title.style.right = (rightWidth + 5) + 'px';
|
||||
}
|
||||
|
||||
@@ -72,7 +72,6 @@
|
||||
title.style.right = margin + 'px';
|
||||
}
|
||||
if(title.offsetWidth < title.scrollWidth) {
|
||||
title.classList.add('title-left');
|
||||
if(rightWidth > 0) {
|
||||
title.style.right = (rightWidth + 5) + 'px';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user