From f05ea1973eb840ca2b8b04d8123c3a6ca2339595 Mon Sep 17 00:00:00 2001
From: mrilyew <99399973+mrilyew@users.noreply.github.com>
Date: Sat, 24 May 2025 16:31:15 +0300
Subject: [PATCH 22/51] texatreao fi x c ccss padings
---
Web/static/css/main.css | 18 ++++++++++++++----
Web/static/js/al_music.js | 2 +-
Web/static/js/al_wall.js | 5 ++---
3 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/Web/static/css/main.css b/Web/static/css/main.css
index e66356bc..9da885ff 100644
--- a/Web/static/css/main.css
+++ b/Web/static/css/main.css
@@ -880,7 +880,7 @@ h4 {
}
.post-geo {
- margin: 1px 0px;
+ margin: 8px 0px 2px -3px;
padding: 0 4px;
}
@@ -1570,6 +1570,10 @@ body.scrolled .toTop:hover, .toTop.has_down:hover {
color: #3c3c3c;
}
+.post-has-geo.appended-geo {
+ padding: 6px 0px;
+}
+
.post-source #remove_source_button, #small_remove_button {
display: inline-block;
background-repeat: no-repeat;
@@ -2670,7 +2674,8 @@ a.poll-retract-vote {
}
.post-buttons .vertical-attachment .vertical-attachment-content {
- max-height: 27px;
+ /*max-height: 27px;*/
+ padding: 3px 2px;
}
.vertical-attachment .vertical-attachment-content .overflowedName {
@@ -3201,6 +3206,11 @@ a.poll-retract-vote {
display: flex;
align-items: center;
gap: 1px;
+ padding: 5px 9px;
+}
+
+.post-buttons .attachment_note {
+ padding: 3px 0px;
}
.attachment_note svg {
@@ -4274,8 +4284,8 @@ hr {
.attachments .docGalleryItem {
display: block;
min-width: 170px;
- height: 170px;
- width: 50%;
+ min-height: 170px;
+ width: 83%;
margin-bottom: 4px;
}
diff --git a/Web/static/js/al_music.js b/Web/static/js/al_music.js
index 60ca15e0..3595f1c2 100644
--- a/Web/static/js/al_music.js
+++ b/Web/static/js/al_music.js
@@ -1859,7 +1859,7 @@ function showAudioAttachment(type = 'form', form = null)
}
let is_attached = false
if(type == 'form') {
- is_attached = (u(form).find(`.post-vertical .vertical-attachment[data-id='${id}']`)).length > 0
+ is_attached = (u(form).find(`.post-vertical .vertical-attachment[data-type='audio'][data-id='${id}']`)).length > 0
} else {
is_attached = (u(form).find(`.PE_audios .vertical-attachment[data-id='${id}']`)).length > 0
}
diff --git a/Web/static/js/al_wall.js b/Web/static/js/al_wall.js
index 26fb88fa..5f57bee6 100644
--- a/Web/static/js/al_wall.js
+++ b/Web/static/js/al_wall.js
@@ -2439,8 +2439,7 @@ u(document).on('click', '#__sourceAttacher', (e) => {
MessageBox(tr('add_source'), `
${tr('set_source_tip')}
-
-
+
`, [tr('cancel')], [
() => {Function.noop}
@@ -2650,7 +2649,7 @@ u(document).on('click', "#__geoAttacher", async (e) => {
${tplMapIcon}
${escapeHtml(geo_name)}
- `)
+ `).addClass("appended-geo")
}, () => {}]
})
From 911247b396a2d57fff1c126efe56869af2d5b4e3 Mon Sep 17 00:00:00 2001
From: mrilyew <99399973+mrilyew@users.noreply.github.com>
Date: Sat, 24 May 2025 16:34:13 +0300
Subject: [PATCH 23/51] source window change padding
---
Web/static/css/main.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/Web/static/css/main.css b/Web/static/css/main.css
index 9da885ff..1cb884cb 100644
--- a/Web/static/css/main.css
+++ b/Web/static/css/main.css
@@ -3393,6 +3393,7 @@ body.article .floating_sidebar, body.article .page_content {
display: flex;
flex-direction: column;
gap: 22px;
+ padding: 5px 10px;
}
.sugglist {
From 9e7956ec03c423812b181ecb165bed0ee5cad49d Mon Sep 17 00:00:00 2001
From: mrilyew <99399973+mrilyew@users.noreply.github.com>
Date: Sat, 24 May 2025 16:44:51 +0300
Subject: [PATCH 24/51] enlarge graffiti window
---
Web/static/css/dialog.css | 2 +-
Web/static/css/main.css | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/Web/static/css/dialog.css b/Web/static/css/dialog.css
index 44892fb2..c4fe298b 100644
--- a/Web/static/css/dialog.css
+++ b/Web/static/css/dialog.css
@@ -49,7 +49,7 @@ body.dimmed > .dimmer #absolute_territory {
.ovk-diag-body {
padding: 20px;
overflow-y: auto;
- max-height: 80vh
+ max-height: 83vh
}
.ovk-diag-action {
diff --git a/Web/static/css/main.css b/Web/static/css/main.css
index 1cb884cb..389134a1 100644
--- a/Web/static/css/main.css
+++ b/Web/static/css/main.css
@@ -1888,6 +1888,7 @@ body.scrolled .toTop:hover, .toTop.has_down:hover {
#ovkDraw {
border: 1px solid #757575;
+ min-height: 510px;
}
#ovkDraw .lc-drawing.with-gui {
@@ -1896,6 +1897,7 @@ body.scrolled .toTop:hover, .toTop.has_down:hover {
#ovkDraw .literally {
border-radius: 0;
+ height: 510px;
}
#ovkDraw .literally .lc-picker,
From acd00c5f86d2f14bf0544bdf588e32f74bebcc2d Mon Sep 17 00:00:00 2001
From: mrilyew <99399973+mrilyew@users.noreply.github.com>
Date: Sat, 24 May 2025 16:47:44 +0300
Subject: [PATCH 25/51] add margin to post page
---
Web/Presenters/templates/Wall/Post.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Web/Presenters/templates/Wall/Post.xml b/Web/Presenters/templates/Wall/Post.xml
index 3d136ebd..e7146044 100644
--- a/Web/Presenters/templates/Wall/Post.xml
+++ b/Web/Presenters/templates/Wall/Post.xml
@@ -38,7 +38,7 @@
model => "posts",
parent => $post }
-