File tree Expand file tree Collapse file tree 1 file changed +23
-19
lines changed
app/assets/stylesheets/common/base Expand file tree Collapse file tree 1 file changed +23
-19
lines changed Original file line number Diff line number Diff line change 152
152
.title-wrapper {
153
153
display : flex ;
154
154
flex-wrap : wrap ;
155
+ align-items : center ;
155
156
156
157
.topic-statuses {
157
158
line-height : 1.2 ;
186
187
}
187
188
}
188
189
189
- & .can-edit-topic .fancy-title {
190
- outline : 2px solid transparent ;
191
- border-radius : var (--d-border-radius );
192
- transition : outline ease-in-out 0.2s ;
193
- padding : 0.25rem ;
194
- transition-delay : 0.1s ;
195
- }
190
+ @include viewport .from (md) {
191
+ & .can-edit-topic .fancy-title {
192
+ outline : 2px solid transparent ;
193
+ border-radius : var (--d-border-radius );
194
+ transition : outline ease-in-out 0.2s ;
195
+ padding : 0.25rem ;
196
+ transition-delay : 0.1s ;
197
+ }
196
198
197
- & .can-edit-topic :not (.editing-topic ) {
198
- cursor : pointer ;
199
- }
199
+ & .can-edit-topic :not (.editing-topic ) {
200
+ cursor : pointer ;
201
+ }
200
202
201
- & .can-edit-topic :not (.editing-topic , .title-highlighted ):hover
202
- .fancy-title {
203
- outline : 2px solid var (--primary-300 );
203
+ & .can-edit-topic :not (.editing-topic , .title-highlighted ):hover
204
+ .fancy-title {
205
+ outline : 2px solid var (--primary-300 );
206
+ }
207
+
208
+ & .editing-topic {
209
+ transition : none ;
210
+ }
204
211
}
205
212
206
- & .editing-topic {
207
- transition : none ;
213
+ & .can-edit-topic .title-wrapper .d-icon {
214
+ margin-left : 0.5rem ;
215
+ font-size : var (--font-down-2 );
208
216
}
209
217
}
210
218
221
229
}
222
230
}
223
231
224
- & .can-edit-topic .d-icon {
225
- font-size : 0.8em ;
226
- }
227
-
228
232
.edit-topic-title {
229
233
display : flex ;
230
234
flex-wrap : wrap ;
You can’t perform that action at this time.
0 commit comments