@rpg-engine/long-bow 0.2.48 → 0.2.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpg-engine/long-bow",
3
- "version": "0.2.48",
3
+ "version": "0.2.49",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -26,6 +26,10 @@ export const DayNightPeriod: React.FC<IPeriodOfDayDisplayProps> = ({
26
26
  );
27
27
  };
28
28
 
29
- const GifContainer = styled.span`
29
+ const GifContainer = styled.div`
30
30
  width: 100%;
31
+
32
+ img {
33
+ width: 67%;
34
+ }
31
35
  `;
@@ -33,31 +33,30 @@ export const TimeWidget: React.FC<IClockWidgetProps> = ({
33
33
 
34
34
  const WidgetContainer = styled.div`
35
35
  background-image: url(${ClockWidgetImg});
36
+ background-size: 10rem;
36
37
  background-repeat: no-repeat;
37
- width: 100%;
38
+ width: 10rem;
38
39
  position: absolute;
39
- margin: 20px;
40
40
  `;
41
41
 
42
42
  const Time = styled.div`
43
- width: 100%;
44
- top: -6.95rem;
45
- right: -4.4rem;
46
- position: relative;
47
- font-size: 7.5px;
43
+ top: 0.75rem;
44
+ right: 0.5rem;
45
+ position: absolute;
46
+ font-size: ${uiFonts.size.small};
48
47
  color: white;
49
48
  `;
50
49
 
51
50
  const CloseButton = styled.p`
52
- width: 100%;
53
- position: relative;
54
- top: -1rem;
55
- right: -6.9rem;
56
- font-size: ${uiFonts.size.xxsmall} !important;
51
+ position: absolute;
52
+ top: -0.5rem;
53
+ margin: 0;
54
+ right: -0.2rem;
55
+ font-size: ${uiFonts.size.small} !important;
57
56
  z-index: 1;
58
57
  `;
59
- const DayNightContainer = styled.span`
60
- top: -41px;
61
- left: -3px;
62
- position: relative;
58
+
59
+ const DayNightContainer = styled.div`
60
+ margin-top: -0.3rem;
61
+ margin-left: -0.3rem;
63
62
  `;