Skip to content

Commit

Permalink
fix stylesheets not loading in previous PR
Browse files Browse the repository at this point in the history
  • Loading branch information
einaskoi committed May 14, 2026
1 parent 333721e commit bcd938e
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/main/java/edu/ntnu/idi/idatt2003/gruppe42/View/Popup.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ private void loadStylesheets() {
);
} else {
root.getStylesheets().addAll(
resource("/Style/global.css"),
resource("/Style/popup.css"),
resource("/Style/apps.css")
resource("/css/global.css"),
resource("/css/popup.css"),
resource("/css/apps.css")
);
}
} catch (Exception e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ private void loadStylesheets() {
);
} else {
root.getStylesheets().addAll(
resource("/Style/global.css"),
resource("/Style/desktop.css"),
resource("/Style/apps.css")
resource("/css/global.css"),
resource("/css/desktop.css"),
resource("/css/apps.css")
);
}
} catch (Exception e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ private void loadStylesheets() {
);
} else {
root.getStylesheets().addAll(
getClass().getResource("/Style/global.css").toExternalForm(),
getClass().getResource("/Style/login.css").toExternalForm()
getClass().getResource("/css/global.css").toExternalForm(),
getClass().getResource("/css/login.css").toExternalForm()
);
}
} catch (Exception e) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit bcd938e

Please sign in to comment.