Ver Fonte

ui fixes

Joscha Jaeger há 10 anos atrás
pai
commit
6f22fa3574

+ 1 - 1
src/allplatforms/classes/FileManagerWindow.js

@@ -734,7 +734,7 @@ SC.loadPackage({ 'FileManagerWindow': {
                         function bytesToSize(bytes) {
 						   if(bytes == 0) return '0 Byte';
 						   var k = 1000;
-						   var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
+						   var sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
 						   var i = Math.floor(Math.log(bytes) / Math.log(k));
 						   return (bytes / Math.pow(k, i)).toPrecision(3) + ' ' + sizes[i];
 						}

+ 1 - 0
src/allplatforms/classes/TextEditor.js

@@ -222,6 +222,7 @@ SC.loadPackage({ 'TextEditor': {
                     
                     self.get('textEditor').style.display = 'none';
                     var sandbox = document.querySelector('.wysihtml5-sandbox');
+                        sandbox.contentWindow.document.body.style.overflow = 'hidden';
                         sandbox.style.borderWidth = self.get('textEditor').style.borderWidth;
                         sandbox.style.borderColor = self.get('textEditor').style.borderColor;
                         sandbox.style.borderRadius = self.get('textEditor').style.borderRadius;

+ 3 - 2
src/allplatforms/css/SliderWidget.css

@@ -21,7 +21,7 @@
 	border-color: rgb(255, 41, 61);
 	border-width: 0 12px 0 12px;
 	border-style: solid;
-	background-color: rgb(183, 12, 29);
+	background-color: #fff;
 }
 
 .sg-editing-widget-slider-handle {
@@ -29,6 +29,7 @@
 	left:  		-10px;
 	width: 		22px;
 	height: 	8px;
+	cursor: 	pointer;
 	
-	background-color: rgb(183, 12, 29);
+	background-color: #fff;
 }