We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fd4a3b commit 7ba28d0Copy full SHA for 7ba28d0
1 file changed
src/scss/themes/fylr/mixins/_buttons.scss
@@ -336,6 +336,7 @@
336
height: auto;
337
line-height: $line-height-base;
338
align-items: baseline;
339
+ min-width: 0;
340
341
.cui-button-center {
342
text-decoration: underline;
@@ -352,6 +353,19 @@
352
353
.cui-button-center:only-child {
354
padding-right: 0;
355
}
356
+
357
+ // very special case, where clients build custom buttons with only a right icon (better would be to use the left spot for the icon)
358
+ // see uni-heidelberg (.ez5-custom-data-type-ubhdgnd)
359
+ .cui-button-left:empty + .cui-button-center:empty {
360
+ margin: 0;
361
+ padding: 0;
362
+ }
363
364
+ .cui-button-left:empty + .cui-button-center:empty + .cui-button-right {
365
+ padding-right: 0;
366
+ margin-left: 0;
367
368
+ // end: special case
369
370
371
&:not(.cui-disabled) {
0 commit comments