Merge remote-tracking branch 'origin/staging' into develop

This commit is contained in:
Andrey Antukh 2022-08-25 14:51:58 +02:00
commit a055a31286
46 changed files with 756 additions and 620 deletions

View file

@ -330,26 +330,13 @@
}
.code-row-lang {
color: $color-gray-10;
position: relative;
display: flex;
flex-direction: row;
font-size: $fs14;
margin: 0.5rem;
.code-selection {
height: 100%;
margin: 0;
padding: 0.5rem;
width: 4.5rem;
font-size: $fs12;
background: $color-gray-50;
color: $color-gray-10;
border-radius: 2px;
border: 1px solid $color-gray-30;
background-image: url("/images/icons/arrow-down-white.svg");
background-repeat: no-repeat;
background-position: 90% 48%;
background-size: 8px;
}
.expand-button,
.copy-button {
margin-top: 8px;

View file

@ -1,4 +1,5 @@
.share-modal {
background: none;
display: block;
top: 50px;
left: calc(100vw - 500px);
@ -7,6 +8,7 @@
width: 480px;
background-color: $color-white;
box-shadow: 0px 2px 8px 0px rgb(0 0 0 / 20%);
.modal-content {
padding: 16px 32px;
&:first-child {

View file

@ -30,7 +30,6 @@
grid-row: 1 / span 2;
grid-column: 1 / span 1;
display: flex;
justify-content: center;
align-items: center;
flex-flow: wrap;
overflow: auto;
@ -72,8 +71,8 @@
}
& .viewer-go-next {
right: 0;
padding-right: 29px;
right: 8px;
width: 46px;
svg {
margin-left: 2px;
}
@ -97,12 +96,13 @@
& .viewer-bottom {
position: absolute;
bottom: 0;
height: 50px;
bottom: 8px;
height: 30px;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 2;
&.left-bar {
width: calc(100% - 512px);
@ -144,6 +144,8 @@
}
& .viewer-wrapper {
margin-left: auto;
margin-right: auto;
position: relative;
}
@ -180,6 +182,7 @@
top: 50px;
width: 256px;
height: 100%;
z-index: 10;
}
}