summaryrefslogtreecommitdiff
path: root/addons/pad/static/src/css
diff options
context:
space:
mode:
authorViral Thakar <vit@odoo.com>2017-03-10 18:25:03 +0530
committerGéry Debongnie <ged@odoo.com>2018-05-11 14:36:57 +0200
commitd1c731e88ccf5d5d8f8ec1a5fdd3227562a986e5 (patch)
tree213efd7224bd8ee96bd8c02e4f2953a574a438fb /addons/pad/static/src/css
parent7ee2bfce9f71ac998a72e791e467efad62edb865 (diff)
[IMP] pad: add mobile support for pad widget
In mobile devices, the pad widget did not behave in a satisfactory manner. Also, once it was in fullscreen mode, it was not possible to come back to normal mode. Task: #31545 PR: #15817
Diffstat (limited to 'addons/pad/static/src/css')
-rw-r--r--addons/pad/static/src/css/etherpad.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/pad/static/src/css/etherpad.css b/addons/pad/static/src/css/etherpad.css
index 1e2b0ea65e4..a0157bb3188 100644
--- a/addons/pad/static/src/css/etherpad.css
+++ b/addons/pad/static/src/css/etherpad.css
@@ -21,6 +21,16 @@
font-size: 14px;
}
+@media (max-width: 767px) {
+ .oe_pad_switch {
+ left: auto;
+ right: 5px;
+ }
+ html .o_scroll_hidden {
+ overflow: hidden;
+ }
+}
+
.oe_pad_switch:hover{
background-image: -webkit-linear-gradient(top, #f4f4f4, #e4e4e4);
}