File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export default class Intro extends Component {
33
33
} = props ;
34
34
35
35
return (
36
- < div class = { style . intro } >
36
+ < div class = { config . logoUrl ? style . flexColumn + " " + style . intro : style . intro } >
37
37
< div class = { style . top } >
38
38
{ config . logoUrl &&
39
39
< img class = { style . logo } src = { config . logoUrl } />
Original file line number Diff line number Diff line change
1
+ .flexColumn {
2
+ flex-direction : column ;
3
+ }
4
+
1
5
div .intro {
2
6
display : flex ;
3
- flex-direction : column ;
4
7
align-items : center ;
5
8
padding : 0 4em ;
6
9
flex : 1 ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export default class IntroV2 extends Component {
39
39
{ config . logoUrl &&
40
40
< img class = { style . logo } src = { config . logoUrl } />
41
41
}
42
- < div class = { style . title } >
42
+ < div class = { config . logoUrl ? style . title + " " + style . imagePadding : style . title } >
43
43
< LocalLabel providedValue = { localization && localization . intro ? localization . intro . title : '' } localizeKey = 'title' > Thanks for visiting </ LocalLabel >
44
44
< LocalLabel providedValue = { localization && localization . intro ? localization . intro . domain : '' } localizeKey = 'domain' > </ LocalLabel >
45
45
</ div >
Original file line number Diff line number Diff line change 1
1
@import ' ../../../style/variables' ;
2
2
3
+ .imagePadding {
4
+ padding-left : 10px ;
5
+ }
6
+
3
7
div .intro {
4
8
padding : 0 32px ;
5
9
max-height : 100% ;
@@ -22,7 +26,6 @@ max-height: 100%;
22
26
font-weight : bold ;
23
27
24
28
.title {
25
- padding-left : 10px ;
26
29
float : left ;
27
30
line-height : 1.5 ;
28
31
}
You can’t perform that action at this time.
0 commit comments