1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

Fix button width transition bug

Fixes #160
This commit is contained in:
Dan Finlay 2016-05-04 20:41:29 -07:00
parent d929f80532
commit 93db6cacb5
3 changed files with 8 additions and 2 deletions

View File

@ -35,7 +35,11 @@ AccountDetailScreen.prototype.render = function() {
return (
h('.account-detail-section.flex-column.flex-grow', [
h('.account-detail-section.flex-column.flex-grow', {
style: {
width: '330px',
},
}, [
// subtitle and nav
h('.section-title.flex-row.flex-center', [

View File

@ -65,7 +65,7 @@ App.prototype.render = function() {
h('.flex-column.flex-grow.full-height', {
style: {
// Windows was showing a vertical scroll bar:
overflowY: 'hidden',
overflow: 'hidden',
}
},
[
@ -82,6 +82,7 @@ App.prototype.render = function() {
h('.app-primary.flex-grow' + (transForward ? '.from-right' : '.from-left'), {
style: {
height: '380px',
width: '360px',
}
}, [
h(ReactCSSTransitionGroup, {

View File

@ -19,6 +19,7 @@
position: absolute;
width: 100%;
transition: transform 300ms ease-in-out;
overflow-x: hidden;
}
/* final positions */