ranWang's picture
uopdate min-height style
9d3b638
.title-content {
font-size: 24px;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
}
.sub-title-content {
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
}
.main-area {
border-radius: 10px;
padding: 20px;
border: 1px solid rgba(0, 0, 0, 0.15);
}
.probelm-example-container {
position: relative;
padding: 38px 12px 12px 12px;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 10px;
}
.probelm-example-title-content {
position: absolute;
top: 0;
left: 0;
border-right: 1px solid rgba(0, 0, 0, 0.15);
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 10px 0 10px 0;
padding: 6px 12px;
}
.probelm-example-another {
position: absolute;
top: 0;
right: 50px;
border-left: 1px solid rgba(0, 0, 0, 0.15);
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
border-top: 0;
border-radius: 0 0px 0 10px;
display: flex;
align-items: center;
justify-content: center;
height: 26.89px;
width: 36px;
cursor: pointer;
font-size: 12px;
background: transparent;
min-width: auto;
padding: 0;
}
.probelm-example-another > img {
height: 16px;
width: 16px;
margin-right: 0;
}
.probelm-example-copy {
position: absolute;
top: 0;
right: 0;
border-left: 1px solid rgba(0, 0, 0, 0.15);
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
border-top: 0;
border-right: 0;
border-radius: 0 10px 0 0px;
padding: 4px 12px;
cursor: pointer;
font-size: 12px;
background: transparent;
min-width: auto;
}
.right {
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 10px;
position: relative;
padding: 40px 14px 14px 14px;
min-height: 500px;
}
.solution-title-content {
position: absolute;
top: 0;
left: 0;
border-right: 1px solid rgba(0, 0, 0, 0.15);
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 10px 0 10px 0;
padding: 4px 8px;
}
.solution-content {
border-radius: 10px;
border: 1px solid rgba(0, 0, 0, 0.15);
height: 480px;
display: flex;
flex-direction: column-reverse;
overflow: none !important;
overflow-y: auto;
scroll-snap-type: y mandatory;
}
.solution-content .solution-content {
padding: 12px;
display: flex;
scroll-snap-align: end;
}
.run-btn {
background: linear-gradient(to right, #ce7e53, #bb470b);
color: white;
}
.running-btn {
background: linear-gradient(to right, #ce7e53, #bb470b);
color: white;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.running-btn::before {
content: "";
position: absolute;
width: 22px;
height: 22px;
border-radius: 50%;
border: 3px solid white;
border-top-color: transparent;
/* border-right-color: transparent;
border-bottom-color: transparent; */
animation: spin 1s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.probelm-input-container {
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 10px;
}
.probelm-input-container .probelm-input-container {
border: none;
}
.problem-input-markdown {
padding: 38px 12px 12px 12px;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 10px;
position: relative;
max-height: 280px;
min-height: 150px;
overflow-y: auto;
border-width: 1px;
border: 1px solid rgba(0, 0, 0, 0.15);
}
.problem-input-markdown::before {
content: "Problem rendered";
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 10px 0px 10px 0px;
position: absolute;
left: 0;
top: -1px;
border-right: 1px solid rgba(0, 0, 0, 0.15);
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
border-left: 0;
border-top: 0;
padding: 6px 12px;
}
.problem-input-markdown .problem-input-markdown {
border: none;
padding: 0;
}
.problem-input-markdown .problem-input-markdown::before {
content: "";
border: none;
display: none;
}