Skip to content

Commit 005d0a3

Browse files
committed
fix(style.css): wrong placing of border radius range element
1 parent 641daee commit 005d0a3

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

src/style.css

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,6 @@ input[type='number']::-webkit-outer-spin-button {
593593
height: 40px;
594594
width: 150px;
595595
border-radius: 5px;
596-
display: flex;
597596
align-items: center;
598597
justify-content: center;
599598
background-color: var(--primary-color);
@@ -851,42 +850,42 @@ input[type='number']::-webkit-outer-spin-button {
851850
}
852851

853852
.border-radius-preview-box .preview {
854-
width: 100%;
855-
height: 100%;
853+
width: inherit;
854+
height: inherit;
856855
background: var(--primary-color);
857856
}
858857

859-
.border-range-inputs input {
858+
.border-radius-inputs {
860859
width: 100%;
861860
}
862861

863862
#border-radius-code {
864-
padding: 1rem;
863+
/* padding: 1rem; */
865864
background: var(--primary-color);
866865
margin-top: 2rem;
867866
}
868867

869-
.border-range-inputs input:nth-child(1) {
868+
#border-radius-top {
870869
position: absolute;
871870
top: -2rem;
872871
left: 0;
873872
}
874873

875-
.border-range-inputs input:nth-child(2) {
874+
#border-radius-left {
876875
position: absolute;
877876
transform: rotate(90deg);
878877
top: 7rem;
879878
left: -9rem;
880879
}
881880

882-
.border-range-inputs input:nth-child(3) {
881+
#border-radius-right {
883882
position: absolute;
884883
transform: rotate(90deg);
885884
top: 7rem;
886885
left: 9rem;
887886
}
888887

889-
.border-range-inputs input:nth-child(4) {
888+
#border-radius-bottom {
890889
position: absolute;
891890
bottom: -2rem;
892891
left: 0;

0 commit comments

Comments
 (0)