File tree Expand file tree Collapse file tree 3 files changed +20
-7
lines changed
docs/.vuepress/components Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,14 @@ const spStr = computed(() => {
4343 }
4444
4545 .mingdao {
46+ display : flex ;
47+ justify-content : center ;
48+
4649 a {
50+ max-width : min (500px , 100% );
51+
4752 img {
48- max- width : 500 px ;
53+ width : 100 % ;
4954 }
5055 }
5156 }
Original file line number Diff line number Diff line change 44 <div class =" theme-hope-content ads-container" >
55 <div class =" mingdao" v-if =" !enableSidebar" >
66 <a href =" https://www.mingdao.com?s=utm_51=utm_source=liteflow&utm_medium=banner&utm_campaign=%E5%93%81%E7%89%8C%E6%8E%A8%E5%B9%BF&utm_content=IT%E8%B5%8B%E8%83%BD%E4%B8%9A%E5%8A%A1"
7- target =" _blank" ><img src =" /img/ads/mingdao-h.png" alt =" " /></a >
8- <span >{{ spStr }}</span >
7+ target =" _blank" >
8+ <img src =" /img/ads/mingdao-h.png" alt =" " />
9+ <span >{{ spStr }}</span >
10+ </a >
911 </div >
1012 <div class =" wwads wwads-cn wwads-horizontal" data-id =" 213" style =" width :100% !important " v-else >
1113 </div >
@@ -42,15 +44,20 @@ const spStr = computed(() => {
4244 justify-content : center ;
4345
4446 a {
45- max-width : 500px ;
47+ max-width : min (500px , 100% );
48+ position : relative ;
4649
4750 img {
4851 width : 100% ;
4952 }
50- }
5153
52- span {
53- font-size : small ;
54+ span {
55+ font-size : small ;
56+ color : #999 ;
57+ position : absolute ;
58+ right : 10px ;
59+ bottom : 10px ;
60+ }
5461 }
5562}
5663
Original file line number Diff line number Diff line change @@ -46,5 +46,6 @@ const spStr = computed(() => {
4646 width : 70% ;
4747 text-align : right ;
4848 font-size : small ;
49+ color : #999 ;
4950 }
5051} </style >
You can’t perform that action at this time.
0 commit comments