From: Chocobozzz Date: Wed, 8 Jun 2022 14:14:24 +0000 (+0200) Subject: Migrate to bootstrap 5 X-Git-Tag: v4.3.0-rc.1~545 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=4c8749cb9e1e4a8d61697434e372f342def7bc70;hp=b89b0bfce9bb79d81f9761b07b04d0c4e5aa25c1;p=github%2FChocobozzz%2FPeerTube.git Migrate to bootstrap 5 --- diff --git a/client/package.json b/client/package.json index 30f1c4cbe..4441e84a2 100644 --- a/client/package.json +++ b/client/package.json @@ -48,7 +48,7 @@ "@babel/core": "^7.15.0", "@babel/preset-env": "^7.15.0", "@neos21/bootstrap3-glyphicons": "^1.0.1", - "@ng-bootstrap/ng-bootstrap": "^11.0.0", + "@ng-bootstrap/ng-bootstrap": "^12.1.2", "@ng-select/ng-select": "^8.1.1", "@ngx-loading-bar/core": "^6.0.0", "@ngx-loading-bar/http-client": "^6.0.0", @@ -57,6 +57,7 @@ "@peertube/p2p-media-loader-hlsjs": "^1.0.8", "@peertube/videojs-contextmenu": "^5.5.0", "@peertube/xliffmerge": "^2.0.3", + "@popperjs/core": "^2.11.5", "@types/chart.js": "^2.9.16", "@types/core-js": "^2.5.2", "@types/debug": "^4.1.5", @@ -79,7 +80,7 @@ "angular2-hotkeys": "^13.1.0", "angularx-qrcode": "13.0.3", "babel-loader": "^8.2.2", - "bootstrap": "^4.1.3", + "bootstrap": "^5.1.3", "buffer": "^6.0.3", "cache-chunk-store": "^3.0.0", "chart.js": "^3.5.1", diff --git a/client/src/app/+about/about-follows/about-follows.component.html b/client/src/app/+about/about-follows/about-follows.component.html index 6bc1d0448..f16f8bd71 100644 --- a/client/src/app/+about/about-follows/about-follows.component.html +++ b/client/src/app/+about/about-follows/about-follows.component.html @@ -1,5 +1,6 @@
-

Follows

+

Follows

+

Follower instances ({{ followersPagination.totalItems }})

diff --git a/client/src/app/+about/about-follows/about-follows.component.scss b/client/src/app/+about/about-follows/about-follows.component.scss index 80eb997e4..057d04ced 100644 --- a/client/src/app/+about/about-follows/about-follows.component.scss +++ b/client/src/app/+about/about-follows/about-follows.component.scss @@ -15,6 +15,7 @@ a { .no-results { justify-content: flex-start; + align-items: flex-start; } .show-more { diff --git a/client/src/app/+about/about-instance/about-instance.component.html b/client/src/app/+about/about-instance/about-instance.component.html index 7f2a6aa77..b113df82f 100644 --- a/client/src/app/+about/about-instance/about-instance.component.html +++ b/client/src/app/+about/about-instance/about-instance.component.html @@ -8,9 +8,9 @@
- {{ category }} + {{ category }} - {{ language }} + {{ language }}
@@ -204,7 +204,7 @@
-

FEATURES

+

FEATURES

diff --git a/client/src/app/+about/about-instance/about-instance.component.scss b/client/src/app/+about/about-instance/about-instance.component.scss index 965c04b6c..a48783639 100644 --- a/client/src/app/+about/about-instance/about-instance.component.scss +++ b/client/src/app/+about/about-instance/about-instance.component.scss @@ -19,18 +19,11 @@ } .instance-badges { - font-size: 16px; margin-bottom: 20px; + font-size: 16px; - .badge { + .pt-badge { @include margin-right(5px); - - font-size: 12px; - font-weight: $font-semibold; - - &.category { - background-color: pvar(--mainColor); - } } } diff --git a/client/src/app/+about/about.component.html b/client/src/app/+about/about.component.html index 63d429ebf..3b7343a04 100644 --- a/client/src/app/+about/about.component.html +++ b/client/src/app/+about/about.component.html @@ -1,4 +1,4 @@ -
+