try different fix for #415

This commit is contained in:
Stefan Breunig 2013-03-08 08:27:20 +01:00
parent 80f026ab0f
commit 2b102f0f33
2 changed files with 8 additions and 9 deletions

View File

@ -83,4 +83,8 @@ window.runOnSmartphonesAfterBoot = function() {
$('#portaldetails').off('click', '**'); $('#portaldetails').off('click', '**');
$('.leaflet-right').addClass('leaflet-left').removeClass('leaflet-right'); $('.leaflet-right').addClass('leaflet-left').removeClass('leaflet-right');
// make buttons in action bar flexible
var l = $('#chatcontrols a:visible');
l.css('width', 100/l.length + '%');
} }

View File

@ -16,11 +16,6 @@ body {
#chatcontrols { #chatcontrols {
height: 38px; height: 38px;
width: 100%; width: 100%;
display: flexbox;
display: -webkit-box;
display: -webkit-flexbox;
display: -moz-flexbox;
display: -moz-box;
} }
/* hide shrink button */ /* hide shrink button */
@ -29,15 +24,15 @@ body {
} }
#chatcontrols a { #chatcontrols a {
width: 50px;
height:36px; height:36px;
overflow: hidden; overflow: hidden;
vertical-align: middle; vertical-align: middle;
line-height: 36px; line-height: 36px;
text-decoration: none; text-decoration: none;
-webkit-box-flex: 1; -moz-box-sizing: border-box;
-moz-box-flex: 1; -webkit-box-sizing: border-box;
-webkit-flex: 1; box-sizing: border-box;
flex: 1;
} }
#chat { #chat {