diff --git a/addons/pad/static/src/css/etherpad.css b/addons/pad/static/src/css/etherpad.css index fd804c95472..8a867f42402 100644 --- a/addons/pad/static/src/css/etherpad.css +++ b/addons/pad/static/src/css/etherpad.css @@ -1,8 +1,6 @@ .etherpad_head{ - width: 99.7%; + width: 100%; display: block; - border-radius: 3px 3px 0px 0px; - background: -webkit-linear-gradient( #F7F7F7, #F1F1F1 80%); padding-left:3px; cursor:pointer; } @@ -18,7 +16,7 @@ left: 0px; top: 15px; width: 100%; - height: 98% !important; + height: 100% !important; z-index:10001 !important; background-color:white; } @@ -31,9 +29,8 @@ } .etherpad_readonly{ - width: 97.2%; + width: 100%; height: 450px; - padding:7px 7px 10px 10px; overflow:auto; } .etherpad_readonly ul,.etherpad_readonly ol{ diff --git a/addons/pad/static/src/js/pad.js b/addons/pad/static/src/js/pad.js index 3f13df45d48..5749f4d7523 100644 --- a/addons/pad/static/src/js/pad.js +++ b/addons/pad/static/src/js/pad.js @@ -4,7 +4,7 @@ instance.web.form.FieldEtherpad = instance.web.form.AbstractField.extend(_.exten template: 'FieldEtherpad', initialize_content: function() { this.$textarea = undefined; - this.$element.find('span').text(this.field.string); + this.$element.find('span').text('Fullscreen'); this.$element.find('span').click(_.bind(function(ev){ this.$element.find('span').toggleClass('etherpad_zoom_head'); var iszoom = this.$element.find('span').hasClass('etherpad_zoom_head');