- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
已将 Dropify 添加到我的站点,但出于某种原因,默认的“将文件拖放到此处或单击”文本未居中?
<div class="dropify-wrapper">
<div class="dropify-message">
<span class="file-icon"></span>
<p>Drag and drop a file here or click</p>
<p class="dropify-error">Ooops, something wrong appended.</p>
</div>
<div class="dropify-loader"></div>
<div class="dropify-errors-container"><ul></ul></div><input name="ctl00$ContentPlaceHolder1$fuImage" id="ctl00_ContentPlaceHolder1_fuImage" class="dropify" data-max-file-size="1M" data-allowed-file-extensions="jpg jpeg png" type="file"><button type="button" class="dropify-clear">Remove</button><div class="dropify-preview"><span class="dropify-render"></span>
<div class="dropify-infos"><div class="dropify-infos-inner">
<p class="dropify-filename"><span class="file-icon"></span> <span class="dropify-filename-inner"></span></p>
<p class="dropify-infos-message">Drag and drop or click to replace</p></div></div></div></div>
有人见过这个吗?
[class^="dropify-font-"]:before, [class*=" dropify-font-"]:before, .dropify-font:before, .dropify-wrapper .dropify-message span.file-icon:before {
font-family: "dropify";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-left: .2em;
margin-right: .2em;
text-align: center;
font-variant: normal;
text-transform: none;
line-height: 1em; }
.dropify-wrapper {
display: block;
position: relative;
cursor: pointer;
overflow: hidden;
width: 100%;
max-width: 100%;
height: 200px;
padding: 5px 10px;
font-family: "Roboto", "Helvetica Neue", "Helvetica", "Arial";
font-size: 14px;
line-height: 22px;
color: #777;
background-color: #FFF;
background-image: none;
text-align: center;
border: 2px solid #E5E5E5;
-webkit-transition: border-color 0.15s linear;
transition: border-color 0.15s linear; }
添加一些文本作为更多详细信息,因为如果我不这样做,该死的脚本不会让我添加代码。添加一些文本作为更多细节,因为如果我不这样做,该死的脚本不会让我添加代码 添加一些文本作为更多细节,因为如果我不添加一些文本作为更多细节,那该死的脚本不会让我添加代码,因为该死的脚本不会让如果我不这样做,我添加代码
最佳答案
修复它。在 JS 文件中有打印 CSS 的选项。由于某种原因,文本位于
内,这导致它左对齐。可能是潜在的主题。我删除了
并添加了
:
message: '<div class="dropify-message"><span class="file-icon" /><br /> {{ default }}</div>'
现在它对齐了。
关于css - Dropify 文本不居中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46379967/
我的网站中有一个 dropify(拖放)区域。我需要用现有图像填充拖放区域,以便用户可以查看旧图像并根据需要进行更改。可能性1.有没有办法用旧文件名生成触发器。这样 dropify JavaScrip
我正在使用 Dropify jQuery 插件作为附件,但无法同时添加多个附件。我在 ASP.Net MVC5 中使用它。这是我的代码 $('.dropify').dropify(); 最佳答案 在
您好 我正在使用 Dropify.js,我想编辑一些项目,所以当我点击编辑项目时,带有 dropify 类的输入工作正常,它使用这部分代码自动上传给定文件: $('.dropify').dropi
已将 Dropify 添加到我的站点,但出于某种原因,默认的“将文件拖放到此处或单击”文本未居中? Drag and drop a file here or click Ooops
Dropify from Github 有人可以帮我解决这个问题吗?我想手动删除此 dropify 中上传的图像。我在一个页面中有多个 dropify。每当我尝试删除时,每个 dropify 中的所有
我有一个表单,当用户单击“添加更多”按钮时,该表单会被克隆。 这就是我的 html 的样子:
我一直在查看一个名为 Dropify 的脚本(由 Jeremy Fagis 编写)创建拖放文件输入。它工作得很漂亮,但我想找到并更改其中的默认云图标。我查看了 JS 和 CSS 文件,但找不到它来自/
我想使用 Dropify我的 Angular 4 项目中的组件。但是,将 .dropify 类应用到我的 input 后得到的只是带有“选择文件”按钮和文件名标签的默认文件输入。如何显示 Dropif
我想在删除图像之前使用甜蜜的警报确认。但是,这不起作用。如果我使用 javascript 默认确认,它就可以工作。我尝试使用异步和等待,但没有帮助。我该如何修复/调试这个问题? var pathURL
我是一名优秀的程序员,十分优秀!