mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ui: Don't use nav-link inside card
- .nav-link classes are meant to be used in navbars and tab navigations. Don't use them incorrectly in .card to avoid potential breakages and readability. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
1 parent
b97cd9094e
commit
1de071cceb
3 files changed
+7
-10
No files matched your search
@@ -291,10 +291,6 @@ body {
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
.nav-link:hover, .nav-link:visited, .nav-link:link, .nav-link:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
@@ -594,10 +590,11 @@ footer {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.card .nav-link {
|
||||
.card > a {
|
||||
display: block;
|
||||
padding: 0rem;
|
||||
color: #212529; /* Same as Bootstrap default color */
|
||||
color: var(--bs-body-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.card-title {
|
||||
@@ -631,7 +628,7 @@ footer {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.system-page .card .nav-link {
|
||||
.system-page .card > a {
|
||||
display: grid;
|
||||
grid-template-columns: 2.1875rem auto;
|
||||
grid-column-gap: 0.625rem;
|
||||
|
||||
Reference in new issue
Block a user