posts: adjust tag edit dialog width.

60% of window width was too large for widescreen monitors.
This commit is contained in:
evazion
2020-08-05 12:19:30 -05:00
parent f9aa1e9718
commit 605b4eff2a

View File

@@ -14,6 +14,7 @@ Post.SWIPE_VELOCITY = 0.6;
Post.MAX_RECOMMENDATIONS = 45; // 3 rows of 9 posts at 1920x1080.
Post.LOW_TAG_COUNT = 10;
Post.HIGH_TAG_COUNT = 20;
Post.EDIT_DIALOG_WIDTH = 720;
Post.initialize_all = function() {
@@ -110,7 +111,7 @@ Post.open_edit_dialog = function() {
$("#form").appendTo(dialog);
dialog.dialog({
title: "Edit tags",
width: $(window).width() * 0.6,
width: Post.EDIT_DIALOG_WIDTH,
position: {
my: "right",
at: "right-20",