Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set max-width for quick themes container #3740

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.quick-theme-container {
max-width: 20em;
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function notifyUserPrefsChanged(settings: ISettings) {
<ng-template i18n>Document settings</ng-template>
<ng-container *ngIf="users.isRealUser() && quickThemes.length > 0">
<h5 i18n>Quick themes</h5>
<div class="flex flex-wrap gap-1">
<div class="flex flex-wrap gap-1 quick-theme-container">
<button *ngFor="let theme of quickThemes"
class="btn btn-xs"
[class.btn-primary]="theme.enabled"
Expand Down Expand Up @@ -282,9 +282,10 @@ export function notifyUserPrefsChanged(settings: ISettings) {

<ng-container *ngIf="users.canScheduleFunctions()">
<h5 i18n>Scheduled functions</h5>
<button (click)="openScheduleDialog()" class="timButton" i18n>Manage scheduled functions</button>
<button (click)="openScheduleDialog()" class="timButton btn-block" i18n>Manage scheduled functions</button>
</ng-container>
`,
styleUrls: ["./settings-tab.component.scss"],
})
export class SettingsTabComponent implements OnInit {
hideVars: IVisibilityVars = getVisibilityVars();
Expand Down
Loading