Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Places App.: Larger display and no more blurry effect in Places List. #1307

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scripts/system/places/places.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// places.css
//
// Created by Alezia Kurdis, January 1st, 2022.
// Copyright 2022 Overte e.V.
// Copyright 2022-2025 Overte e.V.
//
// css for the ui of the Places application.
//
Expand Down Expand Up @@ -491,6 +491,10 @@ div.placeEntryLargeSize {
height: 220px;
}

div.placeEntryMediumSize {
height: 100px;
}

div.addMsEntry {
width: 85%;
height: 38px;
Expand Down
10 changes: 9 additions & 1 deletion scripts/system/places/places.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// places.html
//
// Created by Alezia Kurdis, January 1st, 2022.
// Copyright 2022 Overte e.V.
// Copyright 2022-2025 Overte e.V.
//
// html for the ui of the Places application.
//
Expand Down Expand Up @@ -421,6 +421,9 @@
}

var maxCharNumber = 55;
if (currentListFormat === "PLACES" && placeRecords[i].category === "A") {
maxCharNumber = 110;
}
if (currentListFormat === "PLACES" && i === 0) {
maxCharNumber = 180;
}
Expand All @@ -441,6 +444,11 @@
var promoted = "";
var placeTitlePromoted = "";
var prompotionDescHeight = "";
if (currentListFormat === "PLACES" && placeRecords[i].category === "A") {
promoted = " placeEntryMediumSize";
promotedblur = " promotedblur";
prompotionDescHeight = " style='height: 60px; '";
}
if (currentListFormat === "PLACES" && i === 0) {
promotedblur = " promotedblur";
promoted = " placeEntryLargeSize";
Expand Down