Skip to content

Commit 90b7727

Browse files
authored
Merge pull request #26 from htdguide/testing
alpha tag moved
2 parents 76136db + 188696b commit 90b7727

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

src/App.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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: 1px;
43+
top: 30px;
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
}

src/configs/DockConfig/DockConfig.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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',

0 commit comments

Comments
 (0)