Skip to content

Commit

Permalink
more collapse fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloalba committed Jul 9, 2024
1 parent 31fa95f commit 4b0f234
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
12 changes: 9 additions & 3 deletions editor/css/trotamundos.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ a:visited {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
justify-content: space-between;
}

.draggable {
Expand All @@ -103,17 +103,21 @@ a:visited {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
justify-content: space-between;
cursor: pointer;
}

.icon {
cursor: move;
margin-right: 25px;
margin-left: 10px;
width: 96px;
height: 96px;
}

.expand-icon {
margin-right: 10px;
}

.icon-title {
margin: 0 12px;
width: 75px;
Expand All @@ -125,6 +129,7 @@ a:visited {
font-size: 24px;
width: 100%;
text-align: right;
margin-right: 10px;
}

.text-title {
Expand Down Expand Up @@ -162,6 +167,7 @@ a:visited {
text-transform: uppercase;
font-weight: bold;
font-size: 40px;
width: 570px;
}

.gallery-container {
Expand Down
Binary file modified editor/icons/collapse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified editor/icons/expand.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions editor/js/trotamundos.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ function reloadSection(data) {
text.addEventListener('click', openEditSubtitleEv, false);

expand = document.createElement('img');
expand.classList.add('expand-icon');
if (collapsed.includes(data.id)) {
expand.src = 'icons/expand.png';
section.classList.remove("draggable");
Expand Down

0 comments on commit 4b0f234

Please sign in to comment.