From 711a6a7c50f0089b70243494d4a4b750d92e45ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Mon, 16 Jul 2018 17:21:58 +0200 Subject: [PATCH] change status bar text to better fit on small screens --- src/assets/php-console.js | 4 ++-- src/views/sandbox.blade.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/assets/php-console.js b/src/assets/php-console.js index 6831c8f..4573122 100644 --- a/src/assets/php-console.js +++ b/src/assets/php-console.js @@ -83,7 +83,7 @@ */ updateStatusBar = function (e) { var cursor_position = editor.getCursorPosition(); - $('.statusbar .position').text('Line: ' + (1 + cursor_position.row) + ', Column: ' + cursor_position.column); + $('.statusbar .position').text('Line: ' + (1 + cursor_position.row) + ', Col: ' + cursor_position.column); }; /** @@ -106,7 +106,7 @@ success: function (res, status, jqXHR) { if (res.memory || res.duration) { - $('.statusbar .runtime-info').text('Mem usage: ' + res.memory + ' MB, Time: ' + res.duration + 'ms'); + $('.statusbar .runtime-info').text('Mem: ' + res.memory + ' MB, Time: ' + res.duration + ' ms'); } else { $('.statusbar .runtime-info').text(''); } diff --git a/src/views/sandbox.blade.php b/src/views/sandbox.blade.php index 2f178bf..7ca1e28 100644 --- a/src/views/sandbox.blade.php +++ b/src/views/sandbox.blade.php @@ -38,7 +38,7 @@ ren del  |  - Line: 1, Column: 1 + Line: 1, Col: 1