Browse Source

Merge branch 'master' of https://github.com/iapt-platform/mint

visuddhinanda 4 years ago
parent
commit
8045415a5e
3 changed files with 29 additions and 0 deletions
  1. 8 0
      app/article/index.php
  2. 13 0
      app/studio/editor.php
  3. 8 0
      app/term/term.css

+ 8 - 0
app/article/index.php

@@ -216,6 +216,14 @@ span.fancytree-node{
 	text-decoration-line: underline;
 	
 }
+.sent_tran_div a{
+	white-space: normal;
+	overflow-wrap: anywhere;
+}
+.para_tran_div a{
+	white-space: normal;
+	overflow-wrap: anywhere;
+}
 
 </style>
 

+ 13 - 0
app/studio/editor.php

@@ -263,6 +263,19 @@ else{$currDevice="computer";}
 		background-color: var(--main-color1);
 		white-space: nowrap;
 	}
+	#parent_grammar{
+		padding: 0 6px;
+		border-radius: 4px;
+		min-width: 1em;
+		min-height: 1.3em;
+		background: url(../../node_modules/bootstrap-icons/icons/chevron-double-down.svg);
+		background-repeat: no-repeat;
+		background-position-x: center;
+		background-position-y: bottom;
+		background-origin: content-box;
+		background-color: var(--main-color1);
+		white-space: nowrap;
+	}
 
 	#word_mdf_parts_dropdown  a {
 		width: 100%;

+ 8 - 0
app/term/term.css

@@ -647,6 +647,14 @@ pw {
 	display: block;
 	flex: 20;
 }
+.sent_tran_div a{
+	white-space: normal;
+	overflow-wrap: anywhere;
+}
+.para_tran_div a{
+	white-space: normal;
+	overflow-wrap: anywhere;
+}
 .preview {
 	font-size: 110%;
 }