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

Overskriften holder seg sammen med innholdet #40

Closed
wants to merge 3 commits into from

Conversation

marcuasc
Copy link
Contributor

@marcuasc marcuasc commented Dec 9, 2024

Overskiften holder seg sammen med neste element, slik at overskiften ikke havner alene på en side

@marcuasc marcuasc requested a review from a team as a code owner December 9, 2024 10:12
@@ -153,6 +153,7 @@ object PdfUtils {
add(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trenger vi to isKeepTogether?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ser det er en over på linje 152 også

@@ -153,6 +153,7 @@ object PdfUtils {
add(
lagOverskriftH2(element["label"].toString()).apply {
setDestination(navigeringDestinasjon)
isKeepTogether = true
},
)
when (element["visningsVariant"].toString()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vil denne gjelde for overskriften i barnetabell også ?

Copy link
Contributor

@SandraLekve SandraLekve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Bare et par spørsmål 😊

@marcuasc
Copy link
Contributor Author

Denne fungerer ikke

@marcuasc marcuasc closed this Dec 10, 2024
@fredrikmork fredrikmork deleted the overskrift-samme-side-som-innhold branch December 10, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants