@texonom/nreact 1.5.6 → 1.5.7

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/styles.css +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@texonom/nreact",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "type": "module",
5
5
  "description": "Fast and accurate React renderer for Notion.",
6
6
  "repository": "texonom/notion-node",
@@ -28,8 +28,8 @@
28
28
  "react-modal": "^3.16.3",
29
29
  "react-pdf": "^10.3.0",
30
30
  "react-use": "^17.6.0",
31
- "@texonom/nutils": "^1.5.6",
32
- "@texonom/ntypes": "^1.5.6"
31
+ "@texonom/ntypes": "^1.5.7",
32
+ "@texonom/nutils": "^1.5.7"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/lodash.throttle": "^4.1.9",
package/src/styles.css CHANGED
@@ -976,6 +976,8 @@ svg.notion-page-icon {
976
976
  .notion-bookmark {
977
977
  margin: 4px 0;
978
978
  width: 100%;
979
+ max-width: 100%;
980
+ min-width: 0;
979
981
  box-sizing: border-box;
980
982
  text-decoration: none;
981
983
  border: 1px solid var(--fg-color-1);
@@ -991,6 +993,7 @@ svg.notion-page-icon {
991
993
 
992
994
  .notion-bookmark > div:first-child {
993
995
  flex: 4 1 180px;
996
+ min-width: 0;
994
997
  padding: 12px 14px 14px;
995
998
  overflow: hidden;
996
999
  text-align: left;
@@ -1018,6 +1021,8 @@ svg.notion-page-icon {
1018
1021
  .notion-bookmark-link {
1019
1022
  display: flex;
1020
1023
  margin-top: 6px;
1024
+ min-width: 0;
1025
+ overflow: hidden;
1021
1026
  }
1022
1027
 
1023
1028
  .notion-bookmark-link-icon {
@@ -1034,6 +1039,7 @@ svg.notion-page-icon {
1034
1039
  white-space: nowrap;
1035
1040
  overflow: hidden;
1036
1041
  text-overflow: ellipsis;
1042
+ min-width: 0;
1037
1043
  }
1038
1044
 
1039
1045
  .notion-bookmark-link-icon img {