Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
ef6285f3
Commit
ef6285f3
authored
Dec 07, 2016
by
Maxim Kadushkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE mobile] debug toolbar hidding on android
parent
8164e2c8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
11 deletions
+27
-11
apps/spreadsheeteditor/mobile/app/controller/Editor.js
apps/spreadsheeteditor/mobile/app/controller/Editor.js
+5
-0
apps/spreadsheeteditor/mobile/app/controller/edit/EditContainer.js
...adsheeteditor/mobile/app/controller/edit/EditContainer.js
+2
-0
apps/spreadsheeteditor/mobile/resources/less/app-common.less
apps/spreadsheeteditor/mobile/resources/less/app-common.less
+11
-0
apps/spreadsheeteditor/mobile/resources/less/app-material.less
...spreadsheeteditor/mobile/resources/less/app-material.less
+9
-0
apps/spreadsheeteditor/mobile/resources/less/ios/_search.less
.../spreadsheeteditor/mobile/resources/less/ios/_search.less
+0
-11
No files found.
apps/spreadsheeteditor/mobile/app/controller/Editor.js
View file @
ef6285f3
...
...
@@ -102,6 +102,11 @@ define([
this
.
editorView
=
this
.
createView
(
'
Editor
'
).
render
();
$$
(
window
).
on
(
'
resize
'
,
_
.
bind
(
this
.
onWindowResize
,
this
));
Common
.
NotificationCenter
.
on
(
'
layout:changed
'
,
(
source
,
args
)
=>
{
if
(
source
==
'
navbar
'
)
{
this
.
editorView
.
$el
.
find
(
'
.page.editor
'
)[
args
.
hidden
?
'
addClass
'
:
'
removeClass
'
](
'
no-padding
'
);
}
});
},
onWindowResize
:
function
(
e
)
{
...
...
apps/spreadsheeteditor/mobile/app/controller/edit/EditContainer.js
View file @
ef6285f3
...
...
@@ -256,8 +256,10 @@ define([
'
</div>
'
)).
on
(
'
close
'
,
function
(
e
)
{
mainView
.
showNavbar
();
Common
.
NotificationCenter
.
trigger
(
'
layout:changed
'
,
'
navbar
'
,
{
hidden
:
false
});
});
mainView
.
hideNavbar
();
Common
.
NotificationCenter
.
trigger
(
'
layout:changed
'
,
'
navbar
'
,
{
hidden
:
true
});
}
else
{
me
.
picker
=
uiApp
.
popover
(
'
<div class="popover settings container-edit">
'
+
...
...
apps/spreadsheeteditor/mobile/resources/less/app-common.less
View file @
ef6285f3
...
...
@@ -4,6 +4,17 @@
.navbar-through {
> .page.editor {
padding-top: @appToolbarHeight;
transition: padding-top .2s ease-in;
}
}
.navbar-through .page {
& > .searchbar {
top: @appToolbarHeight + @cellEditorHeight;
}
#cell-editing-box.expanded + .searchbar {
top: @appToolbarHeight + @cellEditorExpandedHeight;
}
}
...
...
apps/spreadsheeteditor/mobile/resources/less/app-material.less
View file @
ef6285f3
...
...
@@ -173,3 +173,12 @@ input, textarea {
}
}
}
.phone {
.page.editor {
&.no-padding {
padding-top: 0;
transition: padding-top .2s ease-in;
}
}
}
\ No newline at end of file
apps/spreadsheeteditor/mobile/resources/less/ios/_search.less
View file @
ef6285f3
// Search
.navbar-through .page {
& > .searchbar {
top: @toolbarSize + @cellEditorHeight;
//position: relative;
}
#cell-editing-box.expanded + .searchbar {
top: @toolbarSize + @cellEditorHeightExp;
}
}
.tablet {
// Replace mode
.searchbar.document.replace {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment