@@ -75,6 +75,17 @@ class WrRecColl extends Item {
75
75
display: inline-block;
76
76
}
77
77
78
+ @media screen and (max-width: 768px) {
79
+ div.has-addons {
80
+ flex-wrap: wrap;
81
+ justify-content: flex-end;
82
+ }
83
+
84
+ div.has-addons form {
85
+ display: contents;
86
+ }
87
+ }
88
+
78
89
${ Item . compStyles }
79
90
` ;
80
91
}
@@ -151,48 +162,50 @@ class WrRecColl extends Item {
151
162
}
152
163
153
164
return html `
154
- < a
155
- href ="# "
156
- role ="button "
157
- class ="button is-borderless "
158
- style ="margin-top: 2px "
159
- id ="fullscreen "
160
- @click ="${ this . onFullscreenToggle } "
161
- @keyup ="${ clickOnSpacebarPress } "
162
- title ="${ this . isFullscreen ? "Exit Full Screen" : "Full Screen" } "
163
- aria-label ="${ this . isFullscreen ? "Exit Fullscreen" : "Fullscreen" } "
164
- >
165
- < span class ="icon is-small ">
166
- < fa-icon
167
- size ="1.0em "
168
- class ="has-text-grey "
169
- aria-hidden ="true "
170
- .svg ="${ this . isFullscreen ? fasUnfullscreen : fasFullscreen } "
171
- > </ fa-icon >
165
+ < div class ="is-flex is-flex-direction-row ">
166
+ < a
167
+ href ="# "
168
+ role ="button "
169
+ class ="button is-borderless "
170
+ style ="margin-top: 2px "
171
+ id ="fullscreen "
172
+ @click ="${ this . onFullscreenToggle } "
173
+ @keyup ="${ clickOnSpacebarPress } "
174
+ title ="${ this . isFullscreen ? "Exit Full Screen" : "Full Screen" } "
175
+ aria-label ="${ this . isFullscreen ? "Exit Fullscreen" : "Fullscreen" } "
176
+ >
177
+ < span class ="icon is-small ">
178
+ < fa-icon
179
+ size ="1.0em "
180
+ class ="has-text-grey "
181
+ aria-hidden ="true "
182
+ .svg ="${ this . isFullscreen ? fasUnfullscreen : fasFullscreen } "
183
+ > </ fa-icon >
184
+ </ span >
185
+ </ a >
186
+ < span class ="rec-button " title ="Archiving ">
187
+ < span class ="dot "> </ span >
188
+ < span class ="size-label "> ${ prettyBytes ( this . totalSize ) } </ span >
172
189
</ span >
173
- </ a >
174
- < span class ="rec-button " title ="Archiving ">
175
- < span class ="dot "> </ span >
176
- < span class ="size-label "> ${ prettyBytes ( this . totalSize ) } </ span >
177
- </ span >
178
- ${ this . showFinish
179
- ? html ` < button
180
- class ="button is-primary-new "
181
- @click ="${ this . onEmbedFinish } "
182
- type ="button "
183
- >
184
- Finish
185
- </ button > `
186
- : html `
187
- < a
190
+ ${ this . showFinish
191
+ ? html ` < button
188
192
class ="button is-primary-new "
189
- role ="button "
190
- download ="my-archive.wacz "
191
- href ="${ this . downloadUrl } "
192
- target ="_blank "
193
- > Download</ a
193
+ @click ="${ this . onEmbedFinish } "
194
+ type ="button "
194
195
>
195
- ` }
196
+ Finish
197
+ </ button > `
198
+ : html `
199
+ < a
200
+ class ="button is-primary-new "
201
+ role ="button "
202
+ download ="my-archive.wacz "
203
+ href ="${ this . downloadUrl } "
204
+ target ="_blank "
205
+ > Download</ a
206
+ >
207
+ ` }
208
+ </ div >
196
209
` ;
197
210
}
198
211
0 commit comments