Commit 9cd35f9a authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Fix Redmine 66075 : La position des boutons copier/coller a été ajusté quand...

Fix Redmine 66075 : La position des boutons copier/coller a été ajusté quand le nom du rôle est très long dans l'en-tête
parent 0eeae063
Loading
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -247,8 +247,8 @@
                       'highlight-selection' : role.id === highlightRole || lightRoleHeader === role.id
                     }">
                  <div class="role-label" :class="{'highlight-selection' : role.id === highlightRole}" @click="highlightRole = role.id">
                    {{ role.roleId }}
                    <span v-if="modeCopy">
                    <span style="white-space: nowrap;">{{ role.roleId }}</span>
                    <span v-if="modeCopy" class="copy-buttons">
                      <button v-if="!copy" class="btn btn-info btn-xs" @click="handlerCopy(role)">copier</button>
                      <button v-else-if="role.roleId !== 'Administrateur'" class="btn btn-info btn-xs" @click="handlerPaste(role)">coller</button>
                    </span>
@@ -608,6 +608,12 @@ export default {
</script>
<style lang="scss">

.copy-buttons {
  background: red;
  position: absolute;
  right: 0;
}

.privileges-ui .scrollable {
  padding: 0 32px;
  border: solid thin #ccc;