Skip to content

Commit

Permalink
Fixed some styling issues in applications
Browse files Browse the repository at this point in the history
  • Loading branch information
andersevenrud committed Nov 30, 2016
1 parent 65fc706 commit f3268c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/client/stylesheets/gui.css
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,7 @@ gui-richtext {
display : inline-block;
position : relative;
min-height : 100px !important;
box-sizing : border-box;
}
gui-richtext > iframe {
display : block;
Expand Down
3 changes: 2 additions & 1 deletion src/packages/default/Calculator/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,12 @@
}).set('readonly', true).focus();

root.querySelectorAll('gui-button').forEach(function(el, idx) {
console.log(el)
var r = parseInt(idx / 4, 10);
var c = idx % 4;
var op = buttons[r][c];

el = scheme.get(el);
el = GUI.Element.createInstance(el);
el.set('value', labels[op] || '');
if ( op === null ) {
Utils.$addClass(el.$element, 'noop');
Expand Down

0 comments on commit f3268c2

Please sign in to comment.