浏览代码

Merge pull request #371 from OllieGeek/master

CSS label / register-list Aesthetics
d98762625 6 年之前
父节点
当前提交
8f7bb3a7c9
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      src/web/stylesheets/components/_operation.css

+ 8 - 0
src/web/stylesheets/components/_operation.css

@@ -116,6 +116,13 @@ div.toggle-string {
     left: 12px;
 }
 
+.operation label.bmd-label-floating {
+    white-space: nowrap;
+    text-overflow: ellipsis;
+    overflow: hidden;
+    width: calc(100% - 13px);
+}
+
 .operation .bmd-form-group .bmd-help {
     margin-top: -17px;
 }
@@ -172,6 +179,7 @@ div.toggle-string {
     background-color: var(--fc-operation-border-colour);
     font-family: var(--fixed-width-font-family);
     padding: 10px;
+    word-break: break-all;
 }
 
 .op-icon {