new section with two third image. margin option

This commit is contained in:
2022-12-06 21:23:01 +02:00
parent e2431d276c
commit 5fdaa6425b
8 changed files with 78 additions and 20 deletions

View File

@ -90,6 +90,16 @@ module Merged
@page.move_section_down(self)
end
def previous_section
return nil if index == 0
page.sections[index - 1]
end
def next_section
return nil if index == (page.sections.length - 1)
page.sections[index + 1]
end
def move_card_up(card)
return if cards.length == 1
return if card.index == 0