Skip to content

Commit 4bc37e4

Browse files
authored
SF-3487 Show language codes on mobile when configuring sources (#3345)
1 parent 6d601c1 commit 4bc37e4

1 file changed

Lines changed: 5 additions & 11 deletions

File tree

src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/draft-sources/draft-sources.component.scss

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
grid-row-gap: 1em;
88
align-items: start;
99
grid-template-columns: 1fr 2fr;
10-
grid-template-areas: 'title title' 'accordion overview' 'codes codes' 'footer footer';
10+
grid-template-areas: 'title title' 'accordion overview' 'confirmation confirmation' 'footer footer';
1111
}
1212

1313
@include breakpoints.media-breakpoint-down(lg) {
1414
:host {
15-
grid-template-columns: auto;
16-
grid-template-areas: 'title' 'accordion' 'codes' 'footer';
15+
grid-template-columns: minmax(0, 1fr);
16+
grid-template-areas: 'title' 'accordion' 'overview' 'confirmation' 'footer';
1717
}
1818
}
1919

@@ -121,6 +121,7 @@ strong {
121121

122122
.project-name {
123123
font-size: 1.1em;
124+
word-wrap: break-word;
124125
}
125126

126127
.language-code {
@@ -191,13 +192,6 @@ strong {
191192

192193
// small devices only
193194
@include breakpoints.media-breakpoint-down(lg) {
194-
:host {
195-
grid-template-columns: auto;
196-
}
197-
198-
.overview {
199-
display: none;
200-
}
201195
.draft-sources-stepper {
202196
width: unset;
203197
}
@@ -208,7 +202,7 @@ strong {
208202
}
209203

210204
.confirm-language-codes {
211-
grid-area: codes;
205+
grid-area: confirmation;
212206
}
213207

214208
:host:has(.saving) > :not(.saving):not(h1) {

0 commit comments

Comments
 (0)