Some minor updates
parent
c8bf0a339d
commit
99a8ab9017
|
@ -3,6 +3,9 @@
|
||||||
- Fixed channel tree deletions
|
- Fixed channel tree deletions
|
||||||
- Removed layout recalculate bottleneck on connection handler switching
|
- Removed layout recalculate bottleneck on connection handler switching
|
||||||
- Fixed empty channel tree on tab change, if the tree has some scroll offset
|
- Fixed empty channel tree on tab change, if the tree has some scroll offset
|
||||||
|
- Added the ability to duplicate bookmarks
|
||||||
|
- Fixed issue [#106](https://github.com/TeaSpeak/TeaWeb/issues/106)
|
||||||
|
- Fixed issue [#90](https://github.com/TeaSpeak/TeaWeb/issues/90)
|
||||||
|
|
||||||
* **10.06.20**
|
* **10.06.20**
|
||||||
- Finalize the channel file explorer
|
- Finalize the channel file explorer
|
||||||
|
|
|
@ -463,9 +463,18 @@
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: flex-end;
|
justify-content: flex-start;
|
||||||
|
|
||||||
|
.button-duplicate {
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
flex-shrink: 1;
|
||||||
|
flex-grow: 1;
|
||||||
|
|
||||||
|
min-width: 2em;
|
||||||
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|
|
@ -293,15 +293,15 @@ function handle_icon_upload(file: File, client: ConnectionHandler) : UploadingIc
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!result.startsWith("data:image/svg+xml")) {
|
if(!result.startsWith("data:image/svg+xml")) {
|
||||||
if(image.naturalWidth > 32 && image.naturalHeight > 32) {
|
if(image.naturalWidth > 128 && image.naturalHeight > 128) {
|
||||||
width_error("width and height (max 32px). Given: " + image.naturalWidth + "x" + image.naturalHeight);
|
width_error("width and height (max 32px). Given: " + image.naturalWidth + "x" + image.naturalHeight);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(image.naturalWidth > 32) {
|
if(image.naturalWidth > 128) {
|
||||||
width_error("width (max 32px)");
|
width_error("width (max 32px)");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(image.naturalHeight > 32) {
|
if(image.naturalHeight > 128) {
|
||||||
width_error("height (max 32px)");
|
width_error("height (max 32px)");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue