Skip to content

Commit 41746bf

Browse files
author
Friedrich W. H. Kossebau
committed
Move ViewerJS button to lower toolbar
1 parent c489dc7 commit 41746bf

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<div id = "viewer">
6767
<div id = "titlebar">
6868
<div id = "documentName"></div>
69-
<div id = "toolbarRight">
69+
<div id = "titlebarRight">
7070
<button id = "presentation" class = "toolbarButton presentation" title = "Presentation"></button>
7171
<button id = "fullscreen" class = "toolbarButton fullscreen" title = "Fullscreen"></button>
7272
<button id = "download" class = "toolbarButton download" title = "Download"></button>
@@ -110,6 +110,8 @@
110110
</div>
111111
</div>
112112
</div>
113+
<div id = "toolbarRight">
114+
</div>
113115
</div>
114116
</div>
115117
<div id = "canvasContainer">

viewer.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,29 +127,34 @@ select {
127127
html[dir='ltr'] #toolbarLeft {
128128
margin-left: -1px;
129129
}
130-
html[dir='rtl'] #toolbarRight {
130+
html[dir='rtl'] #toolbarRight,
131+
html[dir='rtl'] #titlebarRight {
131132
margin-left: -1px;
132133
}
133134
html[dir='ltr'] #toolbarLeft,
134-
html[dir='rtl'] #toolbarRight {
135+
html[dir='rtl'] #toolbarRight,
136+
html[dir='rtl'] #titlebarRight {
135137
position: absolute;
136138
top: 0;
137139
left: 0;
138140
}
141+
html[dir='rtl'] #toolbarLeft,
139142
html[dir='ltr'] #toolbarRight,
140-
html[dir='rtl'] #toolbarLeft {
143+
html[dir='ltr'] #titlebarRight {
141144
position: absolute;
142145
top: 0;
143146
right: 0;
144147
}
145148
html[dir='ltr'] #toolbarLeft > *,
146149
html[dir='ltr'] #toolbarMiddle > *,
147-
html[dir='ltr'] #toolbarRight > * {
150+
html[dir='ltr'] #toolbarRight > *,
151+
html[dir='ltr'] #titlebarRight > * {
148152
float: left;
149153
}
150154
html[dir='rtl'] #toolbarLeft > *,
151155
html[dir='rtl'] #toolbarMiddle > *,
152-
html[dir='rtl'] #toolbarRight > * {
156+
html[dir='rtl'] #toolbarRight > *,
157+
html[dir='rtl'] #titlebarRight > * {
153158
float: right;
154159
}
155160

0 commit comments

Comments
 (0)