@seafile/seafile-calendar 1.0.5 → 1.0.6

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/assets/index.css CHANGED
@@ -358,7 +358,8 @@
358
358
  width: 24px;
359
359
  height: 24px;
360
360
  position: absolute;
361
- top: 14px;
361
+ top: 50%;
362
+ transform: translateY(-50%);
362
363
  cursor: pointer;
363
364
  color: #999;
364
365
  font-family: Arial, 'Hiragino Sans GB', 'Microsoft Yahei', 'Microsoft Sans Serif', sans-serif;
@@ -701,7 +702,8 @@
701
702
  border-radius: 4px;
702
703
  color: #999;
703
704
  position: absolute;
704
- top: 14px;
705
+ top: 50%;
706
+ transform: translateY(-50%);
705
707
  }
706
708
  .rc-calendar-month-panel-prev-year-btn:hover,
707
709
  .rc-calendar-month-panel-next-year-btn:hover {
@@ -838,7 +840,8 @@
838
840
  width: 24px;
839
841
  height: 24px;
840
842
  position: absolute;
841
- top: 14px;
843
+ top: 50%;
844
+ transform: translateY(-50%);
842
845
  border-radius: 4px;
843
846
  color: #999;
844
847
  -webkit-user-select: none;
@@ -967,7 +970,8 @@
967
970
  border-radius: 4px;
968
971
  color: #999;
969
972
  position: absolute;
970
- top: 14px;
973
+ top: 50%;
974
+ transform: translateY(-50%);
971
975
  }
972
976
  .rc-calendar-decade-panel-prev-century-btn:hover,
973
977
  .rc-calendar-decade-panel-next-century-btn:hover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/seafile-calendar",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "React Calendar",
5
5
  "keywords": [
6
6
  "react",