1- .preprint-card {
2- width : 100% ;
3- margin : 10px 0 ;
4- }
1+ // stylelint-disable max-nesting-depth, selector-max-compound-selectors
52
6- .card-contents {
7- display : block ;
8- flex-direction : row ;
9- }
10-
11- .heading {
12- display : flex ;
13- flex-direction : column ;
14- flex-wrap : wrap ;
15- justify-content : flex-start ;
16- align-items : flex-start ;
3+ .preprint-card {
174 width : 100% ;
18- }
19-
20- .ember-content-placeholders-heading__title {
21- height : 1em ;
22- margin-top : 5px ;
23- margin-bottom : 5px ;
24-
25- & :first-child {
26- width : 100% ;
5+ margin : 1px 0 ;
6+
7+ .card-contents {
8+ display : block ;
9+ flex-direction : row ;
10+ position : relative ;
11+ display : block ;
12+ padding : 10px 15px ;
13+ margin-bottom : -1px ;
14+ background-color : #fff ;
15+ border : 1px solid #ddd ;
16+
17+ .heading {
18+ display : flex ;
19+ flex-direction : column ;
20+ flex-wrap : wrap ;
21+ justify-content : flex-start ;
22+ align-items : flex-start ;
23+ width : 100% ;
24+
25+ :global .ember- content- placeholders- heading__title {
26+ height : 1em ;
27+ margin-top : 5px ;
28+ margin-bottom : 5px ;
29+
30+ & :first-child {
31+ width : 100% ;
32+ }
33+ }
34+ }
2735 }
2836}
2937
8593
8694dl {
8795 margin-bottom : 10px ;
88- }
8996
90- dl div {
91- display : flex ;
92- }
97+ div {
98+ display : flex ;
9399
94- dl dt {
95- width : 100 px ;
96- margin-right : 5px ;
97- }
100+ dt {
101+ width : 110 px ; // Preserved as originally
102+ margin-right : 5px ;
103+ }
98104
99- dl dd {
100- flex : 1 ;
105+ dd {
106+ flex : 1 ;
107+ }
108+ }
101109}
102110
103111.tags {
104112 margin-top : 2px ;
105113}
106114
107- .description {
108- text-overflow : ellipsis ;
109- overflow : hidden ;
110- white-space : nowrap ;
111- width : calc (100% - 100px );
112- }
113-
114115.link {
115116 composes : Button from ' osf-components/components/button/styles.scss' ;
116117 composes : SecondaryButton from ' osf-components/components/button/styles.scss' ;
@@ -134,45 +135,6 @@ dl dd {
134135 padding-left : 0 ;
135136}
136137
137- .dropdown {
138- padding-left : 5px ;
139- }
140-
141- .dropdown-button {
142- padding : 4px 12px ;
143- line-height : 0 ;
144- }
145-
146- .dropdown-list {
147- background-color : $color-bg-gray-light ;
148- min-width : 180px ;
149- }
150-
151- .dropdown-list ul {
152- list-style : none ;
153- padding-inline-start : 0 ;
154- }
155-
156- .dropdown-list li {
157- margin : 10px 0 ;
158- }
159-
160- .dropdown-link {
161- color : $color-link-black ;
162- border-color : transparent ;
163- background-color : $color-bg-gray-light ;
164- min-width : 180px ;
165- text-align : left ;
166- padding : 3px 20px ;
167- }
168-
169- .dropdown-link :hover ,
170- .dropdown-link :focus {
171- cursor : pointer ;
172- background-image : none ;
173- background-color : $color-bg-gray-dark ;
174- }
175-
176138.list-group-item-heading {
177139 margin-top : 0 ;
178140 margin-bottom : 5px ;
0 commit comments