shrink buttons for smaller screens
This commit is contained in:
parent
8f6823676a
commit
e7e2ecfc4d
|
@ -68,45 +68,6 @@
|
|||
margin:0;
|
||||
}
|
||||
|
||||
/*
|
||||
#preview {
|
||||
overflow: auto;
|
||||
position: absolute;
|
||||
height: auto;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 20px;
|
||||
border: 1px solid #EEE;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
-webkit-box-flex: 1;
|
||||
-moz-box-flex: 1;
|
||||
-ms-box-flex: 1;
|
||||
-o-box-flex: 1;
|
||||
box-flex: 1;
|
||||
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
|
||||
box-shadow: 0 1px 2px rgba(0,0,0,.15);
|
||||
}
|
||||
|
||||
#editor {
|
||||
position: absolute;
|
||||
height: auto;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
font-family: Inconsolata, monospace;
|
||||
font-size: 1.1em;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
*/
|
||||
.ace_gutter-cell {
|
||||
font-size: 1em;
|
||||
line-height: 1em;
|
||||
|
|
|
@ -94,9 +94,15 @@
|
|||
<li><a tabindex="-1" href="#" data-value="ace/theme/vibrant_ink" >Vibrant Ink</a></li>
|
||||
</ul>
|
||||
{% if name in config.LOCKED %}
|
||||
<a class="btn btn-danger btn-sm"><i class="fa fa-lock"></i> Locked</a>
|
||||
<a class="btn btn-danger btn-sm">
|
||||
<i class="fa fa-lock"></i>
|
||||
<span class="hidden-xs">Locked</span>
|
||||
</a>
|
||||
{% else %}
|
||||
<a id="save-native" class="btn btn-primary btn-sm"><i class="fa fa-save"></i> Save</a>
|
||||
<a id="save-native" class="btn btn-primary btn-sm">
|
||||
<i class="fa fa-save"></i>
|
||||
<span class="hidden-xs">Save</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue