File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,12 @@ body, html {
1717
1818/* styles.css */
1919
20+ /* Default label style */
21+ /* styles.css */
22+
2023/* Default label style */
2124.version {
25+ opacity : 50% ;
2226 position : fixed;
2327 right : 10px ;
2428 bottom : 8px ;
@@ -32,14 +36,12 @@ body, html {
3236 border : 1px solid rgba (255 , 255 , 255 , 0.3 );
3337}
3438
35- /* Mobile view: Rotate the label vertically */
39+ /* Mobile view: Stick the label to the right top corner */
3640@media (max-width : 600px ) {
3741 .version {
38- /* Rotate 90° counter-clockwise */
3942 font-size : 8px ;
40- bottom : 1 px ;
43+ top : 30 px ;
4144 right : 1px ;
42- /* Optional: adjust translation to center it along the side */
43- /* transform: rotate(-90deg) translate(-50%, 0); */
45+ bottom : auto; /* Override the default bottom property */
4446 }
4547}
Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ const DOCK_CONFIG = {
4747 NO_TRANSITION : 'none' ,
4848 ENABLE_MAGNIFICATION : false ,
4949 DOCK_POSITION : 'bottom' , // For portrait devices, the dock remains at the bottom.
50- DOCK_MARGIN : 8 ,
51- DOTS_MARGIN_BOTTOM : 25 ,
50+ DOCK_MARGIN : 5 ,
51+ DOTS_MARGIN_BOTTOM : 20 ,
5252 // Tooltip configuration for portrait mode (if you want different values)
5353 APP_NAME_TOOLTIP_OFFSET : 25 ,
5454 APP_NAME_BACKGROUND_PADDING : '5px 15px' ,
You can’t perform that action at this time.
0 commit comments