File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change 66 apiPrefix ,
77} from "replaywebpage" ;
88
9+ import fasFullscreen from "@fortawesome/fontawesome-free/svgs/solid/desktop.svg" ;
10+ import fasUnfullscreen from "@fortawesome/fontawesome-free/svgs/solid/compress-arrows-alt.svg" ;
11+
912import { type PropertyValues } from "lit" ;
1013import { property , state } from "lit/decorators.js" ;
1114
@@ -42,11 +45,10 @@ class WrRecColl extends Item {
4245 flex-direction: row;
4346 margin: 0 1px;
4447 align-items: center;
45- border: 1px darkgrey solid;
46- border-radius: 16px;
4748 padding: 0 0.5em;
4849 min-width: max-content;
49- margin-left: 0.5mm;
50+ margin-left: 1em;
51+ height: 40px;
5052 }
5153
5254 .size-label {
@@ -138,6 +140,26 @@ class WrRecColl extends Item {
138140 }
139141
140142 return html `
143+ < a
144+ href ="# "
145+ role ="button "
146+ class ="button is-borderless "
147+ style ="margin-top: 2px "
148+ id ="fullscreen "
149+ @click ="${ this . onFullscreenToggle } "
150+ @keyup ="${ clickOnSpacebarPress } "
151+ title ="${ this . isFullscreen ? "Exit Full Screen" : "Full Screen" } "
152+ aria-label ="${ this . isFullscreen ? "Exit Fullscreen" : "Fullscreen" } "
153+ >
154+ < span class ="icon is-small ">
155+ < fa-icon
156+ size ="1.0em "
157+ class ="has-text-grey "
158+ aria-hidden ="true "
159+ .svg ="${ this . isFullscreen ? fasUnfullscreen : fasFullscreen } "
160+ > </ fa-icon >
161+ </ span >
162+ </ a >
141163 < span class ="rec-button " title ="Archiving ">
142164 < span class ="dot "> </ span >
143165 < span class ="size-label "> ${ prettyBytes ( this . totalSize ) } </ span >
You can’t perform that action at this time.
0 commit comments