Commit 1b99e583 by doszhang

dos

parent 4b29a4b4
...@@ -169,6 +169,7 @@ input::-webkit-input-placeholder { ...@@ -169,6 +169,7 @@ input::-webkit-input-placeholder {
.personal-page .flag-item { .personal-page .flag-item {
position: relative; position: relative;
display: flex; display: flex;
margin-top: 1rem;
} }
.personal-page .flag-no { .personal-page .flag-no {
...@@ -190,9 +191,6 @@ input::-webkit-input-placeholder { ...@@ -190,9 +191,6 @@ input::-webkit-input-placeholder {
height: auto; height: auto;
display: inline-block; display: inline-block;
flex: 1; flex: 1;
}
.personal-page .red-line {
background: url(../image2/flag-redline.png) left bottom no-repeat; background: url(../image2/flag-redline.png) left bottom no-repeat;
background-size: auto 100%; background-size: 100% auto;
} }
\ No newline at end of file
...@@ -120,9 +120,9 @@ function showPersonalPage() { ...@@ -120,9 +120,9 @@ function showPersonalPage() {
function createList(flag, no) { function createList(flag, no) {
let item = $('<div class="flag-item"></div>'); let item = $('<div class="flag-item"></div>');
item.append($('<div class="flag-no"></div>')); item.append($('<div class="flag-no"></div>'));
item.append($('<div class="flag-text"><div class="red-line"></div></div>')); item.append($('<div class="flag-text"></div>'));
item.find('.flag-no').text(no); item.find('.flag-no').text(no);
item.find('.flag-text').append(flag); item.find('.flag-text').text(flag);
$('.personal-page .flag-list').append(item); $('.personal-page .flag-list').append(item);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment