diff --git a/README.md b/README.md
index e101b95..587ead1 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,3 @@
# temp-clipboard
-临时粘贴板,支持文本和部分图片,由于带宽太低,目前体验不佳
\ No newline at end of file
+临时粘贴板,支持文本和部分图片,直接浏览器复制图片过不了referer校验,带宽如果比较低复制图片体验不佳
diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html
index 004cc5c..f925630 100644
--- a/src/main/resources/static/index.html
+++ b/src/main/resources/static/index.html
@@ -18,10 +18,11 @@
/* 输入框 */
.dzm-textarea {
padding: 5px;
- border: 1px solid red;
- width: 98%;
+ width: 95%;
+ border: 1px solid #019aff;
border-radius: 3px;
position: fixed;
+ height: 97%;
}
/* 输入框为空时显示 placeholder */
@@ -33,14 +34,15 @@
/* 输入框获取焦点时移除 placeholder */
.dzm-textarea:focus:before {
content: none;
+ border: thick #019AFF;
}
.textcopy {
position: fixed;
- height: 40px;
- width: 40px;
- top: 50%;
- right: 1%;
+ height: 100px;
+ width: 90px;
+ right: 5%;
+ bottom: 270px;
transform: translateX(-50%) translateY(-50%);
}
@@ -48,7 +50,10 @@
.textcopy a:hover {
background: #01BCFF;
margin: 5px;
- right: 10px;
+ width: 60px;
+ height: 40px;
+ line-height: 1.3em;
+ font-size: 30px;
}
.btn {
@@ -68,6 +73,7 @@
复制
粘贴
打开
+ 清除