🌐 AI搜索 & 代理 主页
Skip to content

Commit a3b0824

Browse files
authored
Update _icons.scss
1 parent d845588 commit a3b0824

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

src/icons/_icons.scss

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
// Base icon styling
2-
.bi {
3-
display: inline-block;
4-
overflow: visible;
5-
// The following is required to compenstate for alignment
6-
// issues with the Bootstrap Icons alpha implememntation
7-
// And maight be able to remove in future version of bootstrap-icons
8-
// Perhaps this values should be SASS variables?
9-
vertical-align: -0.125em;
2+
.b-icon
3+
&.bi {
4+
display: inline-block;
5+
overflow: visible;
6+
// The following is required to compenstate for alignment
7+
// issues with the Bootstrap Icons alpha implememntation
8+
// And maight be able to remove in future version of bootstrap-icons
9+
// Perhaps this values should be SASS variables?
10+
vertical-align: -0.125em;
11+
}
1012
}
1113

1214
// Make icons slightly larger in buttons, nav-links, dropdowns, and input-group-text
@@ -15,8 +17,10 @@
1517
.dropdown-toggle,
1618
.dropdown-item,
1719
.input-group-text {
18-
.bi {
19-
font-size: 125%;
20-
vertical-align: text-bottom;
20+
.b-icon {
21+
.bi {
22+
font-size: 125%;
23+
vertical-align: text-bottom;
24+
}
2125
}
2226
}

0 commit comments

Comments
 (0)