Skip to content

Commit

Permalink
don't let fingerprints get cut off
Browse files Browse the repository at this point in the history
  • Loading branch information
lislis committed Jul 23, 2015
1 parent d2abeb6 commit 6578e8b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
24 changes: 16 additions & 8 deletions app/styles/app/layouts/settings.sass
Expand Up @@ -71,8 +71,11 @@
@extend %settings-row
display: block
margin-bottom: 1rem
overflow: hidden
span
vertical-align: middle
@media #{$medium-up}
overflow: visible

%settings-name-section
display: inline-block
Expand All @@ -95,7 +98,7 @@
height: 1.3em

@media #{$medium-up}
width: 40%
width: 32%
margin-bottom: 0

.env-var-name
Expand All @@ -110,26 +113,28 @@
%settings-value-section
display: inline-block
vertical-align: middle
white-space: nowrap
overflow: hidden
width: 76%
@media #{$medium-up}
width: grid-calc(3, 12)

.ssh-key-value
@extend %settings-value-section
word-break: break-all
.icon-fingerprint
@extend %icon
@extend .icon-fingerprint
width: 1.3em
height: 1.3em
margin-right: .5em
@media #{$medium-up}
text-align: right
width: grid-calc(6, 12)
word-break: normal
white-space: nowrap

.env-var-value
@extend %settings-value-section

white-space: nowrap
width: 76%
@media #{$medium-up}
width: grid-calc(3, 12)
input
display: inline-block
width: 100%
Expand All @@ -152,8 +157,8 @@
%settings-action-section
display: inline-block
position: relative
width: 24%
float: right
width: 24%
vertical-align: middle
text-align: center
.icon-delete
Expand All @@ -177,6 +182,9 @@

.ssh-key-action
@extend %settings-action-section
margin-top: 1em
@media #{$medium-up}
margin-top: 0
.icon-delete
margin: .2em auto 0
.icon-delete-disabled
Expand Down
4 changes: 1 addition & 3 deletions app/styles/app/modules/tooltips.sass
Expand Up @@ -56,9 +56,7 @@
height: 3.2em
max-width: 8.6em
&:before
left: 41%
@media #{$medium-up}
left: 44%
left: 45%

.tooltip--jobs
@extend %tooltip
Expand Down

0 comments on commit 6578e8b

Please sign in to comment.