style: optimize first screen icon align
This commit is contained in:
parent
aa396b1735
commit
0821561705
|
@ -4,7 +4,7 @@
|
||||||
<%= theme.style.first_screen.description || config.description %>
|
<%= theme.style.first_screen.description || config.description %>
|
||||||
</div>
|
</div>
|
||||||
<% if (theme.social_contact.enable) { %>
|
<% if (theme.social_contact.enable) { %>
|
||||||
<ul class="s-icon-list">
|
<ul class="s-icon-list flex-center">
|
||||||
<% for (const key in theme.social_contact.links) { %>
|
<% for (const key in theme.social_contact.links) { %>
|
||||||
<% if(theme.social_contact.links[key]) { %>
|
<% if(theme.social_contact.links[key]) { %>
|
||||||
<% if(key === 'email') { %>
|
<% if(key === 'email') { %>
|
||||||
|
|
|
@ -16,6 +16,7 @@ $first-screen-img = $temp-img ? $temp-img : '/images/bg.svg';
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
height: 80%;
|
height: 80%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -28,6 +29,7 @@ $first-screen-img = $temp-img ? $temp-img : '/images/bg.svg';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.s-icon-list {
|
.s-icon-list {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: $component-interspace;
|
bottom: $component-interspace;
|
||||||
|
|
Loading…
Reference in New Issue