Skip to content

Commit 6fedfb2

Browse files
author
Sine Jespersen
committed
5389: added css fixes
1 parent 0db9cb9 commit 6fedfb2

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

src/stories/Library/Forms/checkbox/checkbox.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@
5454
}
5555

5656
&--hide-visually {
57-
@extend .hide-visually !optional;
57+
position: absolute;
58+
clip: rect(1px, 1px, 1px, 1px);
59+
padding: 0;
60+
border: 0;
61+
height: 1px;
62+
width: 1px;
63+
overflow: hidden;
5864
}
5965
}
6066

src/stories/Library/Lists/list-materials/list-materials.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
display: flex;
33
min-height: 72px;
44
padding: 16px;
5-
background-color: $c-global-secondary;
5+
background-color: $c-text-primary-white;
66
justify-content: space-between;
77

88
@include breakpoint-s {
@@ -22,8 +22,9 @@
2222
flex: 1;
2323
}
2424

25-
.list-materials__selected {
26-
background-color: $c-text-primary-white;
25+
.list-materials--disabled {
26+
background-color: $c-global-secondary;
27+
cursor: not-allowed;
2728
}
2829

2930
.list-materials__status {

src/stories/Library/Lists/list-reservation/list-reservation.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ $list-reservation-space-desktop: 24px;
2727
}
2828

2929
.list-reservation__note-mobile {
30-
all: unset;
30+
background-color: transparent;
31+
align-self: baseline;
32+
border: 0;
3133
display: block;
3234
margin-top: 4px;
3335
white-space: break-spaces;
@@ -41,7 +43,9 @@ $list-reservation-space-desktop: 24px;
4143
}
4244

4345
.list-reservation__note-desktop {
44-
all: unset;
46+
background-color: transparent;
47+
align-self: baseline;
48+
border: 0;
4549
display: none;
4650
text-decoration: underline;
4751
@extend .text-small-caption;

src/stories/Library/Modals/modal-details/modal-details.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ $MODAL_DETAILS_CONTAINER_WIDTH: 1000px;
1111
}
1212

1313
.modal-details__container {
14+
width: 100%;
15+
overflow: scroll;
1416
margin: 0 24px;
1517
max-width: $MODAL_DETAILS_CONTAINER_WIDTH;
1618

0 commit comments

Comments
 (0)