mirror of
https://github.com/openstf/stf
synced 2025-10-06 03:50:04 +02:00
Add ellipsis overflow to device name.
This commit is contained in:
parent
3aa44f1a9c
commit
2279099a10
2 changed files with 7 additions and 2 deletions
|
@ -116,6 +116,11 @@ device-screen textarea {
|
|||
color: #858585;
|
||||
}
|
||||
|
||||
.stf-device-control .device-name-container {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.stf-device-control .stf-vnc-device-name .device-small-image {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
|
|
@ -18,12 +18,12 @@
|
|||
i(ng-show='showScreen', tooltip-html-unsafe='{{"Just control device"|translate}}<br /><code>⌘-⇧-O</code>', tooltip-placement='left').fa.fa-eye
|
||||
i(ng-show='!showScreen', tooltip-html-unsafe='{{"View device"|translate}}<br /><code>⌘-⇧-O</code>', tooltip-placement='left').fa.fa-eye-slash
|
||||
|
||||
div
|
||||
.device-name-containerX
|
||||
a.stf-vnc-device-name.pointer.unselectable.dropdown-toggle
|
||||
p
|
||||
.device-small-image
|
||||
img(ng-src='{{device.image ? "/static/devices/" + device.image : "/static/bower_components/stf-graphics/devices/small/default.jpg" }}')
|
||||
span {{ device.name }}
|
||||
span.device-name-text {{ device.name }}
|
||||
span.caret(ng-show='groupDevices.length > 0')
|
||||
span(ng-show='device && !device.present', translate) (Absent)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue