mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-23 01:20:27 +00:00
responsive buttons
This commit is contained in:
parent
2513d26eec
commit
f4a1efdd88
@ -43,6 +43,14 @@ body {
|
||||
border-color: #adadad;
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
#btn-responsive-block > .btn {
|
||||
padding: 6px 12px;
|
||||
font-size: 14px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
#salamisandwich td:nth-child(3), th:nth-child(3) {
|
||||
text-align: right;
|
||||
}
|
||||
|
@ -129,7 +129,7 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="btn-group-vertical btn-block btn-group-lg">
|
||||
<div id="btn-responsive-block" class="btn-group-vertical btn-block btn-group-lg">
|
||||
<button type="button" class="btn btn-default" onclick="updateDB();">
|
||||
<span class="glyphicon glyphicon-refresh"></span> Update DB
|
||||
</button>
|
||||
@ -138,12 +138,11 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="btn-group-vertical btn-block btn-group-lg" data-toggle="buttons">
|
||||
<button type="button" class="btn btn-default" id="btnnotify">
|
||||
<span class="glyphicon glyphicon-comment"></span> Notifications
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div id="btn-responsive-block" class="btn-group-vertical btn-block btn-group-lg" data-toggle="buttons">
|
||||
<button type="button" class="btn btn-default" id="btnnotify">
|
||||
<span class="glyphicon glyphicon-comment"></span> Notifications
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.col-md-2 -->
|
||||
</div><!-- /.row -->
|
||||
|
@ -147,7 +147,7 @@ int callback_http(struct libwebsocket_context *context,
|
||||
LIBMPDCLIENT_PATCH_VERSION);
|
||||
|
||||
/* Copy size to content-length field */
|
||||
sprintf(buf, "%6lu", response_size);
|
||||
sprintf(buf, "%6zu", response_size);
|
||||
memcpy(p + sizeof(http_header) - 11, buf, 6);
|
||||
|
||||
n = libwebsocket_write(wsi, (unsigned char *)p,
|
||||
|
Loading…
Reference in New Issue
Block a user