1
0
Fork 0
mirror of https://github.com/sensebox/blockly-app synced 2025-04-19 16:07:33 +02:00

blockly styling changes

This commit is contained in:
yhallowiegeht 2018-12-10 17:37:47 +01:00
parent 381269bae1
commit fff03dc2c3
3 changed files with 9 additions and 6 deletions

View file

@ -12,13 +12,15 @@
<link rel="stylesheet" href="blockly/ardublockly/prettify/arduino.css"> <link rel="stylesheet" href="blockly/ardublockly/prettify/arduino.css">
<link rel="stylesheet" href="blockly/ardublockly/ardublockly.css" media="screen,projection"> <link rel="stylesheet" href="blockly/ardublockly/ardublockly.css" media="screen,projection">
<style> <style>
body {
padding: 0px;
}
.hidden { .hidden {
display: none; display: none;
} }
.resize { .blocks_panel_large, .blocks_panel_small, #content_blocks, .content_xml_large, .content_xml_small {
height: 97%; height: 98vh; /* Standard */
width: 97%;
} }
</style> </style>

View file

@ -13,10 +13,10 @@
</ion-navbar> </ion-navbar>
</ion-header> </ion-header>
<ion-content padding> <ion-content>
<!-- Real floating action button, fixed. It will not scroll with the content --> <!-- Real floating action button, fixed. It will not scroll with the content -->
<ion-fab top right edge> <ion-fab top right edge>
<button ion-fab mini (click)="launchOtaWizard()" color ="light"><ion-icon name="wifi"></ion-icon></button> <button ion-fab mini (click)="launchOtaWizard()" color ="light"><ion-icon name="wifi"></ion-icon></button>
</ion-fab> </ion-fab>
<iframe #blocklyFrame src='assets/blockly.html'></iframe> <iframe #blocklyFrame scrolling="no" src='assets/blockly.html'></iframe>
</ion-content> </ion-content>

View file

@ -1,9 +1,10 @@
page-blockly { page-blockly {
iframe { iframe {
height: 100%; height: 98%;
width: 100%; width: 100%;
border: 0; border: 0;
margin: 0; margin: 0;
padding: 0; padding: 0;
overflow-y: hidden;
} }
} }