mirror of https://github.com/vector-im/riot-web
Stop access token overflowing the box (#10069)
Use a scrollable div for the access token to stop it overflowing.pull/28217/head
parent
4931f18f47
commit
b48d568c69
|
@ -38,9 +38,12 @@ limitations under the License.
|
|||
cursor: pointer;
|
||||
margin-left: 20px;
|
||||
display: block;
|
||||
/* If the copy button is used within a scrollable div, make it stick to the right while scrolling */
|
||||
position: sticky;
|
||||
right: 0;
|
||||
/* center to first line */
|
||||
position: relative;
|
||||
top: 0.15em;
|
||||
background-color: $background;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
|
|
|
@ -28,4 +28,9 @@ limitations under the License.
|
|||
margin-bottom: $spacing-16;
|
||||
}
|
||||
}
|
||||
|
||||
/* prevent the access token from overflowing the text box */
|
||||
div .mx_CopyableText {
|
||||
overflow: scroll;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue