Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a07e576

Browse files
krutilovberezinant
authored andcommittedNov 21, 2024
ktl-1332 fix: fix styles overlap and add max and min values (#3909)
1 parent 794ed37 commit a07e576

File tree

1 file changed

+4
-7
lines changed
  • dokka-subprojects/plugin-base-frontend/src/main/ui-kit/library-name

1 file changed

+4
-7
lines changed
 

‎dokka-subprojects/plugin-base-frontend/src/main/ui-kit/library-name/styles.scss

+4-7
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33
*/
44
@import '../_tokens/index';
55

6-
:root {
7-
--dokka-logo-height: 28px;
8-
--dokka-logo-width: 28px;
9-
}
10-
116
.library-name--link {
127
display: flex;
138
align-items: center;
@@ -32,8 +27,10 @@
3227
}
3328

3429
.library-name--link::before {
35-
width: var(--dokka-logo-height);
36-
height: var(--dokka-logo-width);
30+
width: var(--dokka-logo-width);
31+
height: var(--dokka-logo-height);
32+
max-width: 120px;
33+
max-height: 36px;
3734
margin-right: var(--size-s2);
3835

3936
content: '';

0 commit comments

Comments
 (0)
Please sign in to comment.