彻底解决横幅对齐问题
This commit is contained in:
parent
05b0302b44
commit
4f18e2ed56
@ -110,6 +110,8 @@ export default {
|
||||
}
|
||||
|
||||
#abubanner{
|
||||
align-items: flex-start; /* 控制水平对齐 - 靠左 */
|
||||
justify-content: center;
|
||||
@include media-breakpoint-between(xs, md) {
|
||||
background-image: url('/AboutusRes/aboutusbanner_wep.png');
|
||||
}
|
||||
|
||||
@ -180,6 +180,8 @@ export default {
|
||||
#currentbanner{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start; /* 控制水平对齐 - 靠左 */
|
||||
justify-content: center;
|
||||
@include media-breakpoint-between(xs, md) {
|
||||
margin-left: 32px;
|
||||
margin-right: 32px;
|
||||
|
||||
@ -211,7 +211,7 @@ export default {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
justify-content: flex-start;
|
||||
z-index: 2;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
align-items: left;
|
||||
max-height: 100vh;
|
||||
@include media-breakpoint-between(xs, md) {
|
||||
aspect-ratio: 0.526673640167364;
|
||||
@ -37,7 +37,6 @@
|
||||
.bannercontent{
|
||||
text-align: left;
|
||||
position: relative;
|
||||
align-self: flex-start;
|
||||
@include media-breakpoint-between(xs, md) {
|
||||
margin-left: 16px;
|
||||
margin-right: 16px;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user