Merge branch '43976-fix-access-token-clipboard-button-style' into 'master'
Resolve "Access token copy to clipboard button has wrong style" Closes #43976 See merge request gitlab-org/gitlab-ce!17978
This commit is contained in:
commit
2faf991f31
|
|
@ -210,13 +210,8 @@
|
|||
}
|
||||
|
||||
.created-personal-access-token-container {
|
||||
#created-personal-access-token {
|
||||
width: 90%;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.btn-clipboard {
|
||||
margin-left: 5px;
|
||||
border: 1px solid $border-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,10 @@
|
|||
%h5.prepend-top-0
|
||||
Your New Personal Access Token
|
||||
.form-group
|
||||
= text_field_tag 'created-personal-access-token', @new_personal_access_token, readonly: true, class: "form-control js-select-on-focus", 'aria-describedby' => "created-personal-access-token-help-block"
|
||||
= clipboard_button(text: @new_personal_access_token, title: "Copy personal access token to clipboard", placement: "left")
|
||||
.input-group
|
||||
= text_field_tag 'created-personal-access-token', @new_personal_access_token, readonly: true, class: "form-control js-select-on-focus", 'aria-describedby' => "created-personal-access-token-help-block"
|
||||
%span.input-group-btn
|
||||
= clipboard_button(text: @new_personal_access_token, title: "Copy personal access token to clipboard", placement: "left", class: "btn-default btn-clipboard")
|
||||
%span#created-personal-access-token-help-block.help-block.text-danger Make sure you save it - you won't be able to access it again.
|
||||
|
||||
%hr
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix personal access token clipboard button style
|
||||
merge_request: 17978
|
||||
author: Fabian Schneider
|
||||
type: fixed
|
||||
Loading…
Reference in New Issue