Jump to content

Template:Dialogue/styles.css: Difference between revisions

 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
     margin: 10px 0;
     margin: 10px 0;
     border-radius: 8px;
     border-radius: 8px;
     max-width: 500px;
     max-width: 600px;
     width: 100%;
     width: auto;
    height: auto;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
     align-items: flex-start;
     align-items: flex-start;
    min-height: auto; /* Allow height to grow dynamically */
}
}


Line 27: Line 27:
     word-wrap: break-word;
     word-wrap: break-word;
     width: 100%;
     width: 100%;
}
     white-space: normal;
 
/* Ensure the dialogue box expands when more text is present */
.dialogue-box > div {
     flex-grow: 1;
    width: 100%;
}
}